~percona-core/percona-server/5.6

« back to all changes in this revision

Viewing changes to Percona-Server/storage/innobase/include/trx0trx.h

  • Committer: Laurynas Biveinis
  • Date: 2013-05-26 10:50:45 UTC
  • mfrom: (352.2.4 5.6)
  • Revision ID: laurynas.biveinis@percona.com-20130526105045-8ut2qf000r1diord
AutomergeĀ lp:~akopytov/percona-server/bug1131189-5.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
459
459
/*============*/
460
460
        trx_t*          trx);           /*!< A read-only transaction that
461
461
                                        needs to be assigned a RBS. */
 
462
 
 
463
/*************************************************************//**
 
464
Callback function for trx_find_descriptor() to compare trx IDs. */
 
465
UNIV_INTERN
 
466
int
 
467
trx_descr_cmp(
 
468
/*==========*/
 
469
        const void *a,  /*!< in: pointer to first comparison argument */
 
470
        const void *b); /*!< in: pointer to second comparison argument */
 
471
 
 
472
/*************************************************************//**
 
473
Release a slot for a given trx in the global descriptors array. */
 
474
UNIV_INTERN
 
475
void
 
476
trx_release_descriptor(
 
477
/*===================*/
 
478
        trx_t* trx);    /*!< in: trx pointer */
 
479
 
462
480
/*******************************************************************//**
463
481
Transactions that aren't started by the MySQL server don't set
464
482
the trx_t::mysql_thd field. For such transactions we set the lock
892
910
                                        /*!< TRUE if in
893
911
                                        trx_sys->mysql_trx_list */
894
912
#endif /* UNIV_DEBUG */
 
913
        UT_LIST_NODE_T(trx_t)
 
914
                        trx_serial_list;/*!< list node for
 
915
                                        trx_sys->trx_serial_list */
 
916
        ibool           in_trx_serial_list;
 
917
                                        /* Set when transaction is in the
 
918
                                        trx_serial_list */
895
919
        /*------------------------------*/
896
920
        dberr_t         error_state;    /*!< 0 if no error, otherwise error
897
921
                                        number; NOTE That ONLY the thread