summaryrefslogtreecommitdiff
path: root/innobase/ut
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2004-03-12 13:46:26 +0200
committerunknown <marko@hundin.mysql.fi>2004-03-12 13:46:26 +0200
commit8b328b24c9baf36a13edf65304113a8eb23e9f6d (patch)
tree79233f10fc1fcf426888ddecadfccc593e2a77ec /innobase/ut
parentbebe22a99e0b48b09c4ac69561ede17ff1766b1a (diff)
downloadmariadb-git-8b328b24c9baf36a13edf65304113a8eb23e9f6d.tar.gz
Replace ut_anp with ut_a
innobase/include/ut0dbg.h: Remove ut_anp Replace fprintf with fputs Move string constants to .c file innobase/ut/ut0dbg.c: Move string constants to .c file
Diffstat (limited to 'innobase/ut')
-rw-r--r--innobase/ut/ut0dbg.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/innobase/ut/ut0dbg.c b/innobase/ut/ut0dbg.c
index d6593b70217..3697e31050f 100644
--- a/innobase/ut/ut0dbg.c
+++ b/innobase/ut/ut0dbg.c
@@ -18,3 +18,16 @@ ibool ut_dbg_stop_threads = FALSE;
/* Null pointer used to generate memory trap */
ulint* ut_dbg_null_ptr = NULL;
+
+const char* ut_dbg_msg_assert_fail =
+"InnoDB: Assertion failure in thread %lu in file %s line %lu\n";
+const char* ut_dbg_msg_trap =
+"InnoDB: We intentionally generate a memory trap.\n"
+"InnoDB: Send a detailed bug report to mysql@lists.mysql.com.\n"
+"InnoDB: If you get repeated assertion failures or crashes, even\n"
+"InnoDB: immediately after the mysqld startup, there may be\n"
+"InnoDB: corruption in the InnoDB tablespace. See section 6.1 of\n"
+"InnoDB: http://www.innodb.com/ibman.php about forcing recovery.\n";
+
+const char* ut_dbg_msg_stop =
+"InnoDB: Thread %lu stopped in file %s line %lu\n";