Commit 6108afdd authored by marko's avatar marko

branches/zip: univ.i: Define REFMAN as the base URL of the

MySQL Reference Manual and use it in every string.
This fixes Issue #221.
parent 16bc8613
2009-04-16 The InnoDB Team
* univ.i:
Define REFMAN as the base URL of the MySQL Reference Manual and
use the macro in all diagnostic output.
2009-04-16 The InnoDB Team 2009-04-16 The InnoDB Team
* CMakeLists.txt, include/os0sync.h, include/sync0sync.h, * CMakeLists.txt, include/os0sync.h, include/sync0sync.h,
......
...@@ -661,8 +661,7 @@ btr_page_get_father_node_ptr( ...@@ -661,8 +661,7 @@ btr_page_get_father_node_ptr(
" to fix the\n" " to fix the\n"
"InnoDB: corruption. If the crash happens at " "InnoDB: corruption. If the crash happens at "
"the database startup, see\n" "the database startup, see\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "forcing-recovery.html about\n"
"forcing-recovery.html about\n"
"InnoDB: forcing recovery. " "InnoDB: forcing recovery. "
"Then dump + drop + reimport.\n", stderr); "Then dump + drop + reimport.\n", stderr);
......
...@@ -372,8 +372,7 @@ buf_page_is_corrupted( ...@@ -372,8 +372,7 @@ buf_page_is_corrupted(
"you may have copied the InnoDB\n" "you may have copied the InnoDB\n"
"InnoDB: tablespace but not the InnoDB " "InnoDB: tablespace but not the InnoDB "
"log files. See\n" "log files. See\n"
"InnoDB: http://dev.mysql.com/doc/refman/" "InnoDB: " REFMAN "forcing-recovery.html\n"
"5.1/en/forcing-recovery.html\n"
"InnoDB: for more information.\n", "InnoDB: for more information.\n",
(ulong) mach_read_from_4(read_buf (ulong) mach_read_from_4(read_buf
+ FIL_PAGE_OFFSET), + FIL_PAGE_OFFSET),
...@@ -3149,9 +3148,8 @@ buf_page_io_complete( ...@@ -3149,9 +3148,8 @@ buf_page_io_complete(
" You can use CHECK\n" " You can use CHECK\n"
"InnoDB: TABLE to scan your" "InnoDB: TABLE to scan your"
" table for corruption.\n" " table for corruption.\n"
"InnoDB: See also" "InnoDB: See also "
" http://dev.mysql.com/doc/refman/5.1/en/" REFMAN "forcing-recovery.html\n"
"forcing-recovery.html\n"
"InnoDB: about forcing recovery.\n", stderr); "InnoDB: about forcing recovery.\n", stderr);
if (srv_force_recovery < SRV_FORCE_IGNORE_CORRUPT) { if (srv_force_recovery < SRV_FORCE_IGNORE_CORRUPT) {
......
...@@ -2450,8 +2450,7 @@ dict_foreign_error_report( ...@@ -2450,8 +2450,7 @@ dict_foreign_error_report(
fputs("The index in the foreign key in table is ", file); fputs("The index in the foreign key in table is ", file);
ut_print_name(file, NULL, FALSE, fk->foreign_index->name); ut_print_name(file, NULL, FALSE, fk->foreign_index->name);
fputs("\n" fputs("\n"
"See http://dev.mysql.com/doc/refman/5.1/en/" "See " REFMAN "innodb-foreign-key-constraints.html\n"
"innodb-foreign-key-constraints.html\n"
"for correct foreign key definition.\n", "for correct foreign key definition.\n",
file); file);
} }
...@@ -3371,8 +3370,7 @@ dict_create_foreign_constraints_low( ...@@ -3371,8 +3370,7 @@ dict_create_foreign_constraints_low(
ut_print_name(ef, NULL, TRUE, name); ut_print_name(ef, NULL, TRUE, name);
fprintf(ef, " where the columns appear\n" fprintf(ef, " where the columns appear\n"
"as the first columns. Constraint:\n%s\n" "as the first columns. Constraint:\n%s\n"
"See http://dev.mysql.com/doc/refman/5.1/en/" "See " REFMAN "innodb-foreign-key-constraints.html\n"
"innodb-foreign-key-constraints.html\n"
"for correct foreign key definition.\n", "for correct foreign key definition.\n",
start_of_latest_foreign); start_of_latest_foreign);
mutex_exit(&dict_foreign_err_mutex); mutex_exit(&dict_foreign_err_mutex);
...@@ -3652,7 +3650,7 @@ dict_create_foreign_constraints_low( ...@@ -3652,7 +3650,7 @@ dict_create_foreign_constraints_low(
" and such columns in old tables\n" " and such columns in old tables\n"
"cannot be referenced by such columns" "cannot be referenced by such columns"
" in new tables.\n" " in new tables.\n"
"See http://dev.mysql.com/doc/refman/5.1/en/" "See " REFMAN
"innodb-foreign-key-constraints.html\n" "innodb-foreign-key-constraints.html\n"
"for correct foreign key definition.\n", "for correct foreign key definition.\n",
start_of_latest_foreign); start_of_latest_foreign);
...@@ -4136,8 +4134,7 @@ dict_update_statistics_low( ...@@ -4136,8 +4134,7 @@ dict_update_statistics_low(
" InnoDB: cannot calculate statistics for table %s\n" " InnoDB: cannot calculate statistics for table %s\n"
"InnoDB: because the .ibd file is missing. For help," "InnoDB: because the .ibd file is missing. For help,"
" please refer to\n" " please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n",
"innodb-troubleshooting.html\n",
table->name); table->name);
return; return;
......
...@@ -2945,8 +2945,7 @@ fil_open_single_table_tablespace( ...@@ -2945,8 +2945,7 @@ fil_open_single_table_tablespace(
" a temporary table #sql...,\n" " a temporary table #sql...,\n"
"InnoDB: and MySQL removed the .ibd file for this.\n" "InnoDB: and MySQL removed the .ibd file for this.\n"
"InnoDB: Please refer to\n" "InnoDB: Please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: for how to resolve the issue.\n", stderr); "InnoDB: for how to resolve the issue.\n", stderr);
mem_free(filepath); mem_free(filepath);
...@@ -2988,8 +2987,7 @@ fil_open_single_table_tablespace( ...@@ -2988,8 +2987,7 @@ fil_open_single_table_tablespace(
"InnoDB: commands DISCARD TABLESPACE and" "InnoDB: commands DISCARD TABLESPACE and"
" IMPORT TABLESPACE?\n" " IMPORT TABLESPACE?\n"
"InnoDB: Please refer to\n" "InnoDB: Please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: for how to resolve the issue.\n", "InnoDB: for how to resolve the issue.\n",
(ulong) space_id, (ulong) space_flags, (ulong) space_id, (ulong) space_flags,
(ulong) id, (ulong) flags); (ulong) id, (ulong) flags);
...@@ -3672,8 +3670,7 @@ fil_space_for_table_exists_in_mem( ...@@ -3672,8 +3670,7 @@ fil_space_for_table_exists_in_mem(
} }
error_exit: error_exit:
fputs("InnoDB: Please refer to\n" fputs("InnoDB: Please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: for how to resolve the issue.\n", stderr); "InnoDB: for how to resolve the issue.\n", stderr);
mem_free(path); mem_free(path);
......
...@@ -3240,8 +3240,7 @@ fseg_free_page_low( ...@@ -3240,8 +3240,7 @@ fseg_free_page_low(
"InnoDB: database!\n", (ulong) page); "InnoDB: database!\n", (ulong) page);
crash: crash:
fputs("InnoDB: Please refer to\n" fputs("InnoDB: Please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "forcing-recovery.html\n"
"forcing-recovery.html\n"
"InnoDB: about forcing recovery.\n", stderr); "InnoDB: about forcing recovery.\n", stderr);
ut_error; ut_error;
} }
......
...@@ -2986,7 +2986,7 @@ ha_innobase::open( ...@@ -2986,7 +2986,7 @@ ha_innobase::open(
"or, the table contains indexes that this " "or, the table contains indexes that this "
"version of the engine\n" "version of the engine\n"
"doesn't support.\n" "doesn't support.\n"
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n" "See " REFMAN "innodb-troubleshooting.html\n"
"how you can resolve the problem.\n", "how you can resolve the problem.\n",
norm_name); norm_name);
free_share(share); free_share(share);
...@@ -3002,7 +3002,7 @@ ha_innobase::open( ...@@ -3002,7 +3002,7 @@ ha_innobase::open(
"Have you deleted the .ibd file from the " "Have you deleted the .ibd file from the "
"database directory under\nthe MySQL datadir, " "database directory under\nthe MySQL datadir, "
"or have you used DISCARD TABLESPACE?\n" "or have you used DISCARD TABLESPACE?\n"
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n" "See " REFMAN "innodb-troubleshooting.html\n"
"how you can resolve the problem.\n", "how you can resolve the problem.\n",
norm_name); norm_name);
free_share(share); free_share(share);
...@@ -6992,8 +6992,8 @@ ha_innobase::info( ...@@ -6992,8 +6992,8 @@ ha_innobase::info(
".frm file. Have you mixed up " ".frm file. Have you mixed up "
".frm files from different " ".frm files from different "
"installations? See " "installations? See "
"http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n", REFMAN
"innodb-troubleshooting.html\n",
ib_table->name); ib_table->name);
break; break;
} }
...@@ -7005,7 +7005,7 @@ ha_innobase::info( ...@@ -7005,7 +7005,7 @@ ha_innobase::info(
"Index %s of %s has %lu columns unique inside InnoDB, but MySQL is asking " "Index %s of %s has %lu columns unique inside InnoDB, but MySQL is asking "
"statistics for %lu columns. Have you mixed up .frm files from different " "statistics for %lu columns. Have you mixed up .frm files from different "
"installations? " "installations? "
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n", "See " REFMAN "innodb-troubleshooting.html\n",
index->name, index->name,
ib_table->name, ib_table->name,
(unsigned long) (unsigned long)
...@@ -7843,8 +7843,8 @@ ha_innobase::transactional_table_lock( ...@@ -7843,8 +7843,8 @@ ha_innobase::transactional_table_lock(
"InnoDB: Have you deleted the .ibd file" "InnoDB: Have you deleted the .ibd file"
" from the database directory under\n" " from the database directory under\n"
"InnoDB: the MySQL datadir?" "InnoDB: the MySQL datadir?"
"InnoDB: See" "InnoDB: See " REFMAN
" http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n" "innodb-troubleshooting.html\n"
"InnoDB: how you can resolve the problem.\n", "InnoDB: how you can resolve the problem.\n",
prebuilt->table->name); prebuilt->table->name);
DBUG_RETURN(HA_ERR_CRASHED); DBUG_RETURN(HA_ERR_CRASHED);
......
...@@ -54,6 +54,8 @@ component, i.e. we show M.N.P as M.N */ ...@@ -54,6 +54,8 @@ component, i.e. we show M.N.P as M.N */
INNODB_VERSION_MINOR, \ INNODB_VERSION_MINOR, \
INNODB_VERSION_BUGFIX) INNODB_VERSION_BUGFIX)
#define REFMAN "http://dev.mysql.com/doc/refman/5.1/en/"
#ifdef MYSQL_DYNAMIC_PLUGIN #ifdef MYSQL_DYNAMIC_PLUGIN
/* In the dynamic plugin, redefine some externally visible symbols /* In the dynamic plugin, redefine some externally visible symbols
in order not to conflict with the symbols of a builtin InnoDB. */ in order not to conflict with the symbols of a builtin InnoDB. */
......
...@@ -727,8 +727,7 @@ log_calc_max_ages(void) ...@@ -727,8 +727,7 @@ log_calc_max_ages(void)
" After an ERROR-FREE shutdown\n" " After an ERROR-FREE shutdown\n"
"InnoDB: of mysqld you can adjust the size of" "InnoDB: of mysqld you can adjust the size of"
" ib_logfiles, as explained in\n" " ib_logfiles, as explained in\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "adding-and-removing.html\n"
"adding-and-removing.html\n"
"InnoDB: Cannot continue operation." "InnoDB: Cannot continue operation."
" Calling exit(1).\n", " Calling exit(1).\n",
(ulong)srv_thread_concurrency); (ulong)srv_thread_concurrency);
......
...@@ -593,8 +593,7 @@ recv_find_max_checkpoint( ...@@ -593,8 +593,7 @@ recv_find_max_checkpoint(
"InnoDB: to create the InnoDB data files," "InnoDB: to create the InnoDB data files,"
" but log file creation failed.\n" " but log file creation failed.\n"
"InnoDB: If that is the case, please refer to\n" "InnoDB: If that is the case, please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "error-creating-innodb.html\n");
"error-creating-innodb.html\n");
return(DB_ERROR); return(DB_ERROR);
} }
...@@ -2022,8 +2021,7 @@ recv_report_corrupt_log( ...@@ -2022,8 +2021,7 @@ recv_report_corrupt_log(
"InnoDB: far enough in recovery! Please run CHECK TABLE\n" "InnoDB: far enough in recovery! Please run CHECK TABLE\n"
"InnoDB: on your InnoDB tables to check that they are ok!\n" "InnoDB: on your InnoDB tables to check that they are ok!\n"
"InnoDB: If mysqld crashes after this recovery, look at\n" "InnoDB: If mysqld crashes after this recovery, look at\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "forcing-recovery.html\n"
"forcing-recovery.html\n"
"InnoDB: about forcing recovery.\n", stderr); "InnoDB: about forcing recovery.\n", stderr);
fflush(stderr); fflush(stderr);
......
...@@ -276,7 +276,7 @@ os_file_get_last_error( ...@@ -276,7 +276,7 @@ os_file_get_last_error(
"InnoDB: Some operating system error numbers" "InnoDB: Some operating system error numbers"
" are described at\n" " are described at\n"
"InnoDB: " "InnoDB: "
"http://dev.mysql.com/doc/refman/5.1/en/" REFMAN
"operating-system-error-codes.html\n"); "operating-system-error-codes.html\n");
} }
} }
...@@ -335,7 +335,7 @@ os_file_get_last_error( ...@@ -335,7 +335,7 @@ os_file_get_last_error(
"InnoDB: Some operating system" "InnoDB: Some operating system"
" error numbers are described at\n" " error numbers are described at\n"
"InnoDB: " "InnoDB: "
"http://dev.mysql.com/doc/refman/5.1/en/" REFMAN
"operating-system-error-codes.html\n"); "operating-system-error-codes.html\n");
} }
} }
...@@ -695,8 +695,7 @@ os_file_readdir_next_file( ...@@ -695,8 +695,7 @@ os_file_readdir_next_file(
/* TODO: MySQL has apparently its own symlink /* TODO: MySQL has apparently its own symlink
implementation in Windows, dbname.sym can implementation in Windows, dbname.sym can
redirect a database directory: redirect a database directory:
http://dev.mysql.com/doc/refman/5.1/en/ REFMAN "windows-symbolic-links.html" */
windows-symbolic-links.html */
info->type = OS_FILE_TYPE_LINK; info->type = OS_FILE_TYPE_LINK;
} else if (lpFindFileData->dwFileAttributes } else if (lpFindFileData->dwFileAttributes
& FILE_ATTRIBUTE_DIRECTORY) { & FILE_ATTRIBUTE_DIRECTORY) {
...@@ -2474,8 +2473,7 @@ os_file_write( ...@@ -2474,8 +2473,7 @@ os_file_write(
"InnoDB: Some operating system error numbers" "InnoDB: Some operating system error numbers"
" are described at\n" " are described at\n"
"InnoDB: " "InnoDB: "
"http://dev.mysql.com/doc/refman/5.1/en/" REFMAN "operating-system-error-codes.html\n",
"operating-system-error-codes.html\n",
name, (ulong) offset_high, (ulong) offset, name, (ulong) offset_high, (ulong) offset,
(ulong) GetLastError()); (ulong) GetLastError());
...@@ -2546,8 +2544,7 @@ os_file_write( ...@@ -2546,8 +2544,7 @@ os_file_write(
"InnoDB: Some operating system error numbers" "InnoDB: Some operating system error numbers"
" are described at\n" " are described at\n"
"InnoDB: " "InnoDB: "
"http://dev.mysql.com/doc/refman/5.1/en/" REFMAN "operating-system-error-codes.html\n");
"operating-system-error-codes.html\n");
os_has_said_disk_full = TRUE; os_has_said_disk_full = TRUE;
} }
...@@ -2589,8 +2586,7 @@ os_file_write( ...@@ -2589,8 +2586,7 @@ os_file_write(
"InnoDB: Some operating system error numbers" "InnoDB: Some operating system error numbers"
" are described at\n" " are described at\n"
"InnoDB: " "InnoDB: "
"http://dev.mysql.com/doc/refman/5.1/en/" REFMAN "operating-system-error-codes.html\n");
"operating-system-error-codes.html\n");
os_has_said_disk_full = TRUE; os_has_said_disk_full = TRUE;
} }
......
...@@ -562,8 +562,7 @@ row_mysql_handle_errors( ...@@ -562,8 +562,7 @@ row_mysql_handle_errors(
"InnoDB: If the mysqld server crashes" "InnoDB: If the mysqld server crashes"
" after the startup or when\n" " after the startup or when\n"
"InnoDB: you dump the tables, look at\n" "InnoDB: you dump the tables, look at\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "forcing-recovery.html"
"forcing-recovery.html"
" for help.\n", stderr); " for help.\n", stderr);
break; break;
default: default:
...@@ -1062,8 +1061,7 @@ row_insert_for_mysql( ...@@ -1062,8 +1061,7 @@ row_insert_for_mysql(
"InnoDB: the MySQL datadir, or have you" "InnoDB: the MySQL datadir, or have you"
" used DISCARD TABLESPACE?\n" " used DISCARD TABLESPACE?\n"
"InnoDB: Look from\n" "InnoDB: Look from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: how you can resolve the problem.\n", "InnoDB: how you can resolve the problem.\n",
prebuilt->table->name); prebuilt->table->name);
return(DB_ERROR); return(DB_ERROR);
...@@ -1298,8 +1296,7 @@ row_update_for_mysql( ...@@ -1298,8 +1296,7 @@ row_update_for_mysql(
"InnoDB: the MySQL datadir, or have you" "InnoDB: the MySQL datadir, or have you"
" used DISCARD TABLESPACE?\n" " used DISCARD TABLESPACE?\n"
"InnoDB: Look from\n" "InnoDB: Look from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: how you can resolve the problem.\n", "InnoDB: how you can resolve the problem.\n",
prebuilt->table->name); prebuilt->table->name);
return(DB_ERROR); return(DB_ERROR);
...@@ -1914,9 +1911,8 @@ row_create_table_for_mysql( ...@@ -1914,9 +1911,8 @@ row_create_table_for_mysql(
" and DROP TABLE will\n" " and DROP TABLE will\n"
"InnoDB: succeed.\n" "InnoDB: succeed.\n"
"InnoDB: You can look for further help from\n" "InnoDB: You can look for further help from\n"
"InnoDB: " "InnoDB: " REFMAN "innodb-troubleshooting.html\n",
"http://dev.mysql.com/doc/refman/5.1/en/" stderr);
"innodb-troubleshooting.html\n", stderr);
/* We may also get err == DB_ERROR if the .ibd file for the /* We may also get err == DB_ERROR if the .ibd file for the
table already exists */ table already exists */
...@@ -3083,8 +3079,7 @@ row_drop_table_for_mysql( ...@@ -3083,8 +3079,7 @@ row_drop_table_for_mysql(
"InnoDB: MySQL database directory" "InnoDB: MySQL database directory"
" from another database?\n" " from another database?\n"
"InnoDB: You can look for further help from\n" "InnoDB: You can look for further help from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n",
"innodb-troubleshooting.html\n",
stderr); stderr);
goto funct_exit; goto funct_exit;
} }
...@@ -3662,8 +3657,7 @@ row_rename_table_for_mysql( ...@@ -3662,8 +3657,7 @@ row_rename_table_for_mysql(
"InnoDB: MySQL database directory" "InnoDB: MySQL database directory"
" from another database?\n" " from another database?\n"
"InnoDB: You can look for further help from\n" "InnoDB: You can look for further help from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n",
"innodb-troubleshooting.html\n",
stderr); stderr);
goto funct_exit; goto funct_exit;
} else if (table->ibd_file_missing) { } else if (table->ibd_file_missing) {
...@@ -3675,8 +3669,7 @@ row_rename_table_for_mysql( ...@@ -3675,8 +3669,7 @@ row_rename_table_for_mysql(
fputs(" does not have an .ibd file" fputs(" does not have an .ibd file"
" in the database directory.\n" " in the database directory.\n"
"InnoDB: You can look for further help from\n" "InnoDB: You can look for further help from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n",
"innodb-troubleshooting.html\n",
stderr); stderr);
goto funct_exit; goto funct_exit;
} else if (new_is_tmp) { } else if (new_is_tmp) {
...@@ -3828,8 +3821,7 @@ row_rename_table_for_mysql( ...@@ -3828,8 +3821,7 @@ row_rename_table_for_mysql(
"InnoDB: Have you deleted the .frm file" "InnoDB: Have you deleted the .frm file"
" and not used DROP TABLE?\n" " and not used DROP TABLE?\n"
"InnoDB: You can look for further help from\n" "InnoDB: You can look for further help from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: If table ", stderr); "InnoDB: If table ", stderr);
ut_print_name(stderr, trx, TRUE, new_name); ut_print_name(stderr, trx, TRUE, new_name);
fputs(" is a temporary table #sql..., then" fputs(" is a temporary table #sql..., then"
...@@ -4103,8 +4095,7 @@ row_check_table_for_mysql( ...@@ -4103,8 +4095,7 @@ row_check_table_for_mysql(
"InnoDB: the MySQL datadir, or have you" "InnoDB: the MySQL datadir, or have you"
" used DISCARD TABLESPACE?\n" " used DISCARD TABLESPACE?\n"
"InnoDB: Look from\n" "InnoDB: Look from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: how you can resolve the problem.\n", "InnoDB: how you can resolve the problem.\n",
table->name); table->name);
return(DB_ERROR); return(DB_ERROR);
......
...@@ -3335,8 +3335,7 @@ row_search_for_mysql( ...@@ -3335,8 +3335,7 @@ row_search_for_mysql(
"InnoDB: the MySQL datadir, or have you used" "InnoDB: the MySQL datadir, or have you used"
" DISCARD TABLESPACE?\n" " DISCARD TABLESPACE?\n"
"InnoDB: Look from\n" "InnoDB: Look from\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "innodb-troubleshooting.html\n"
"innodb-troubleshooting.html\n"
"InnoDB: how you can resolve the problem.\n", "InnoDB: how you can resolve the problem.\n",
prebuilt->table->name); prebuilt->table->name);
......
...@@ -1830,8 +1830,7 @@ innobase_start_or_create_for_mysql(void) ...@@ -1830,8 +1830,7 @@ innobase_start_or_create_for_mysql(void)
" to an earlier version of\n" " to an earlier version of\n"
"InnoDB: InnoDB! But if you absolutely need to" "InnoDB: InnoDB! But if you absolutely need to"
" downgrade, see\n" " downgrade, see\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "multiple-tablespaces.html\n"
"multiple-tablespaces.html\n"
"InnoDB: for instructions.\n"); "InnoDB: for instructions.\n");
} }
......
...@@ -78,8 +78,7 @@ ut_dbg_assertion_failed( ...@@ -78,8 +78,7 @@ ut_dbg_assertion_failed(
" or crashes, even\n" " or crashes, even\n"
"InnoDB: immediately after the mysqld startup, there may be\n" "InnoDB: immediately after the mysqld startup, there may be\n"
"InnoDB: corruption in the InnoDB tablespace. Please refer to\n" "InnoDB: corruption in the InnoDB tablespace. Please refer to\n"
"InnoDB: http://dev.mysql.com/doc/refman/5.1/en/" "InnoDB: " REFMAN "forcing-recovery.html\n"
"forcing-recovery.html\n"
"InnoDB: about forcing recovery.\n", stderr); "InnoDB: about forcing recovery.\n", stderr);
#if defined(UNIV_SYNC_DEBUG) || !defined(UT_DBG_USE_ABORT) #if defined(UNIV_SYNC_DEBUG) || !defined(UT_DBG_USE_ABORT)
ut_dbg_stop_threads = TRUE; ut_dbg_stop_threads = TRUE;
......
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