diff options
author | marko@hundin.mysql.fi <> | 2004-04-07 14:19:26 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-04-07 14:19:26 +0300 |
commit | 253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f (patch) | |
tree | 2f1cb9f7307ff2cede7e13d739760692e11dcaaf /innobase/trx | |
parent | 44a6fcba2f357b3f74bde8673046b310ecfd6645 (diff) | |
download | mariadb-git-253bf9861b06da3ea132aadfd5e1a60e7d9c3c2f.tar.gz |
InnoDB: Remove debug functions unless #ifdef UNIV_DEBUG
Diffstat (limited to 'innobase/trx')
-rw-r--r-- | innobase/trx/trx0roll.c | 2 | ||||
-rw-r--r-- | innobase/trx/trx0sys.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/innobase/trx/trx0roll.c b/innobase/trx/trx0roll.c index eed5e79a20f..92a5373aabd 100644 --- a/innobase/trx/trx0roll.c +++ b/innobase/trx/trx0roll.c @@ -1140,10 +1140,12 @@ trx_finish_rollback_off_kernel( return; } +#ifdef UNIV_DEBUG if (lock_print_waits) { fprintf(stderr, "Trx %lu rollback finished\n", ut_dulint_get_low(trx->id)); } +#endif /* UNIV_DEBUG */ trx_commit_off_kernel(trx); diff --git a/innobase/trx/trx0sys.c b/innobase/trx/trx0sys.c index e0c30df17af..b52ec2bae0f 100644 --- a/innobase/trx/trx0sys.c +++ b/innobase/trx/trx0sys.c @@ -599,6 +599,7 @@ trx_sys_update_mysql_binlog_offset( MLOG_4BYTES, mtr); } +#ifdef UNIV_HOTBACKUP /********************************************************************* Prints to stderr the MySQL binlog info in the system header if the magic number shows it valid. */ @@ -626,6 +627,7 @@ trx_sys_print_mysql_binlog_offset_from_page( sys_header + TRX_SYS_MYSQL_LOG_INFO + TRX_SYS_MYSQL_LOG_NAME); } } +#endif /* UNIV_HOTBACKUP */ /********************************************************************* Prints to stderr the MySQL binlog offset info in the trx system header if |