Bug #12612184 BLOB debug code cleanup: Forgot an #if

around the declaration of trx_assert_recovered().
This commit is contained in:
Marko Mäkelä 2011-06-29 16:48:41 +03:00
parent 0000ce91fe
commit e25fb73be2

View File

@ -284,6 +284,7 @@ ibool
trx_in_trx_list( trx_in_trx_list(
/*============*/ /*============*/
trx_t* in_trx);/*!< in: trx */ trx_t* in_trx);/*!< in: trx */
#if defined UNIV_DEBUG || defined UNIV_BLOB_LIGHT_DEBUG
/***********************************************************//** /***********************************************************//**
Assert that a transaction has been recovered. Assert that a transaction has been recovered.
@return TRUE */ @return TRUE */
@ -293,6 +294,7 @@ trx_assert_recovered(
/*=================*/ /*=================*/
trx_id_t trx_id) /*!< in: transaction identifier */ trx_id_t trx_id) /*!< in: transaction identifier */
__attribute__((warn_unused_result)); __attribute__((warn_unused_result));
#endif /* UNIV_DEBUG || UNIV_BLOB_LIGHT_DEBUG */
/*****************************************************************//** /*****************************************************************//**
Updates the offset information about the end of the MySQL binlog entry Updates the offset information about the end of the MySQL binlog entry
which corresponds to the transaction just being committed. In a MySQL which corresponds to the transaction just being committed. In a MySQL