Commit c72a9e7e authored by unknown's avatar unknown

ut0dbg.h:

  If there is an assertion failur refer the user to section 6.1 of the InnoDB online manual about forcing recovery


innobase/include/ut0dbg.h:
  If there is an assertion failur refer the user to section 6.1 of the InnoDB online manual about forcing recovery
parent dd8adcc8
...@@ -35,7 +35,11 @@ extern ulint* ut_dbg_null_ptr; ...@@ -35,7 +35,11 @@ extern ulint* ut_dbg_null_ptr;
fprintf(stderr,\ fprintf(stderr,\
"\nInnoDB: We intentionally generate a memory trap.\n");\ "\nInnoDB: We intentionally generate a memory trap.\n");\
fprintf(stderr,\ fprintf(stderr,\
"InnoDB: Send a detailed bug report to mysql@lists.mysql.com\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");\
ut_dbg_stop_threads = TRUE;\ ut_dbg_stop_threads = TRUE;\
dbg_i = *(ut_dbg_null_ptr);\ dbg_i = *(ut_dbg_null_ptr);\
if (dbg_i) {\ if (dbg_i) {\
...@@ -66,7 +70,11 @@ format characters */ ...@@ -66,7 +70,11 @@ format characters */
fprintf(stderr,\ fprintf(stderr,\
"\nInnoDB: We intentionally generate a memory trap.\n");\ "\nInnoDB: We intentionally generate a memory trap.\n");\
fprintf(stderr,\ fprintf(stderr,\
"InnoDB: Send a detailed bug report to mysql@lists.mysql.com\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");\
ut_dbg_stop_threads = TRUE;\ ut_dbg_stop_threads = TRUE;\
dbg_i = *(ut_dbg_null_ptr);\ dbg_i = *(ut_dbg_null_ptr);\
if (dbg_i) {\ if (dbg_i) {\
...@@ -90,7 +98,11 @@ format characters */ ...@@ -90,7 +98,11 @@ format characters */
fprintf(stderr,\ fprintf(stderr,\
"InnoDB: We intentionally generate a memory trap.\n");\ "InnoDB: We intentionally generate a memory trap.\n");\
fprintf(stderr,\ fprintf(stderr,\
"InnoDB: Send a detailed bug report to mysql@lists.mysql.com\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");\
ut_dbg_stop_threads = TRUE;\ ut_dbg_stop_threads = TRUE;\
dbg_i = *(ut_dbg_null_ptr);\ dbg_i = *(ut_dbg_null_ptr);\
printf("%lu", dbg_i);\ printf("%lu", dbg_i);\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment