From fd2900ccfc5312f374590f8a0482f621d5cb2c00 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 27 Mar 2001 20:19:15 +0300 Subject: log0log.c Failure to create or open the archive log file now results in exit(1) ut0dbg.h Innobase now prints the line and file of an assertion failure innobase/include/ut0dbg.h: Innobase now prints the line and file of an assertion failure innobase/log/log0log.c: Failure to create or open the archive log file now results in exit(1) --- innobase/include/ut0dbg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'innobase/include/ut0dbg.h') diff --git a/innobase/include/ut0dbg.h b/innobase/include/ut0dbg.h index a61f80f01c6..3a7d97bb75b 100644 --- a/innobase/include/ut0dbg.h +++ b/innobase/include/ut0dbg.h @@ -26,11 +26,11 @@ extern ulint* ut_dbg_null_ptr; ulint dbg_i;\ \ if (!((ulint)(EXPR) + ut_dbg_zero)) {\ - /* printf(\ + printf(\ "Assertion failure in thread %lu in file %s line %lu\n",\ os_thread_get_curr_id(), IB__FILE__, (ulint)__LINE__);\ printf(\ - "we generate a memory trap on purpose to start the debugger\n");*/\ + "we generate a memory trap on purpose to start the debugger\n");\ ut_dbg_stop_threads = TRUE;\ dbg_i = *(ut_dbg_null_ptr);\ if (dbg_i) {\ -- cgit v1.2.1