mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
Use "InnoDB:" prefix in error messages.
This commit is contained in:
parent
2d18390051
commit
91c7b692f4
2 changed files with 13 additions and 10 deletions
|
@ -3431,7 +3431,7 @@ no_commit:
|
|||
/*
|
||||
ut_print_timestamp(stderr);
|
||||
fprintf(stderr,
|
||||
" InnoDB error: ALTER TABLE is holding lock"
|
||||
" InnoDB: ALTER TABLE is holding lock"
|
||||
" on %lu tables!\n",
|
||||
prebuilt->trx->mysql_n_tables_locked);
|
||||
*/
|
||||
|
@ -6589,13 +6589,16 @@ ha_innobase::transactional_table_lock(
|
|||
|
||||
if (prebuilt->table->ibd_file_missing && !thd_tablespace_op(thd)) {
|
||||
ut_print_timestamp(stderr);
|
||||
fprintf(stderr, " InnoDB error:\n"
|
||||
"MySQL is trying to use a table handle but the .ibd file for\n"
|
||||
"table %s does not exist.\n"
|
||||
"Have you deleted the .ibd file from the database directory under\n"
|
||||
"the MySQL datadir?"
|
||||
"See http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n"
|
||||
"how you can resolve the problem.\n",
|
||||
fprintf(stderr,
|
||||
" InnoDB: MySQL is trying to use a table handle"
|
||||
" but the .ibd file for\n"
|
||||
"InnoDB: table %s does not exist.\n"
|
||||
"InnoDB: Have you deleted the .ibd file"
|
||||
" from the database directory under\n"
|
||||
"InnoDB: the MySQL datadir?"
|
||||
"InnoDB: See"
|
||||
" http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html\n"
|
||||
"InnoDB: how you can resolve the problem.\n",
|
||||
prebuilt->table->name);
|
||||
DBUG_RETURN(HA_ERR_CRASHED);
|
||||
}
|
||||
|
|
|
@ -830,7 +830,7 @@ sync_thread_levels_g(
|
|||
mutex = slot->latch;
|
||||
|
||||
fprintf(stderr,
|
||||
"InnoDB error: sync levels should be"
|
||||
"InnoDB: sync levels should be"
|
||||
" > %lu but a level is %lu\n",
|
||||
(ulong) limit, (ulong) slot->level);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue