diff options
author | Marko Mäkelä <marko.makela@oracle.com> | 2011-06-29 16:48:41 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@oracle.com> | 2011-06-29 16:48:41 +0300 |
commit | e25fb73be22b496a61a28b82de746f990822ae50 (patch) | |
tree | 48b9727b04d5ed25e4b818c073b3033901180848 | |
parent | 0000ce91fe7811ccae64acb5959f660fe0a55cc3 (diff) | |
download | mariadb-git-e25fb73be22b496a61a28b82de746f990822ae50.tar.gz |
Bug #12612184 BLOB debug code cleanup: Forgot an #if
around the declaration of trx_assert_recovered().
-rw-r--r-- | storage/innodb_plugin/include/trx0sys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innodb_plugin/include/trx0sys.h b/storage/innodb_plugin/include/trx0sys.h index ed62375797a..78bb6fc349b 100644 --- a/storage/innodb_plugin/include/trx0sys.h +++ b/storage/innodb_plugin/include/trx0sys.h @@ -284,6 +284,7 @@ ibool trx_in_trx_list( /*============*/ trx_t* in_trx);/*!< in: trx */ +#if defined UNIV_DEBUG || defined UNIV_BLOB_LIGHT_DEBUG /***********************************************************//** Assert that a transaction has been recovered. @return TRUE */ @@ -293,6 +294,7 @@ trx_assert_recovered( /*=================*/ trx_id_t trx_id) /*!< in: transaction identifier */ __attribute__((warn_unused_result)); +#endif /* UNIV_DEBUG || UNIV_BLOB_LIGHT_DEBUG */ /*****************************************************************//** Updates the offset information about the end of the MySQL binlog entry which corresponds to the transaction just being committed. In a MySQL |