diff options
author | unknown <marko@hundin.mysql.fi> | 2004-03-12 13:46:26 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-03-12 13:46:26 +0200 |
commit | 8b328b24c9baf36a13edf65304113a8eb23e9f6d (patch) | |
tree | 79233f10fc1fcf426888ddecadfccc593e2a77ec /innobase/ut | |
parent | bebe22a99e0b48b09c4ac69561ede17ff1766b1a (diff) | |
download | mariadb-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.c | 13 |
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"; |