~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to storage/innobase/include/trx0trx.h

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include "dict0types.h"
20
20
#include "trx0xa.h"
21
21
 
 
22
/* Number of transactions currently allocated for MySQL: protected by
 
23
the kernel mutex */
22
24
extern ulint    trx_n_mysql_transactions;
 
25
/* Number of transactions currently in the XA PREPARED state: protected by
 
26
the kernel mutex */
 
27
extern ulint    trx_n_prepared;
23
28
 
24
29
/************************************************************************
25
30
Releases the search latch if trx has reserved it. */
198
203
trx_t *
199
204
trx_get_trx_by_xid(
200
205
/*===============*/
201
 
                        /* out: trx or NULL */
202
 
        XID*    xid);   /*  in: X/Open XA transaction identification */
 
206
                                /* out: trx or NULL;
 
207
                                on match, the trx->xid will be invalidated */
 
208
        const XID*      xid);   /*  in: X/Open XA transaction identifier */
203
209
/**************************************************************************
204
210
If required, flushes the log to disk if we called trx_commit_for_mysql()
205
211
with trx->flush_log_later == TRUE. */