~percona-core/percona-server/5.5

« back to all changes in this revision

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

  • Committer: Laurynas Biveinis
  • Date: 2013-09-06 13:24:59 UTC
  • mfrom: (558.8.3 5.5)
  • Revision ID: laurynas.biveinis@percona.com-20130906132459-jfaquw8dbwluzbsl
MergeĀ lp:~akopytov/percona-server/ahi-fixes-5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
Created 3/26/1996 Heikki Tuuri
24
24
*******************************************************/
25
25
 
 
26
/********************************************************************//**
 
27
In XtraDB it is impossible for a transaction to own a search latch outside of
 
28
InnoDB code, so there is nothing to release on demand.  We keep this function to
 
29
simplify maintenance.*/
 
30
UNIV_INLINE
 
31
void
 
32
trx_search_latch_release_if_reserved(
 
33
/*=================================*/
 
34
        trx_t*     trx __attribute__((unused))) /*!< in: transaction */
 
35
{
 
36
        ut_ad(!trx->has_search_latch);
 
37
}
 
38
 
26
39
/*************************************************************//**
27
40
Starts the transaction if it is not yet started. */
28
41
UNIV_INLINE