mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
MDEV-17068 mysql system table is marked as crashed and should be repaired after the server crashes or is killed
- Changed ERROR to WARNING for MyISAM/Aria message that are warnings in the check utilities. This affects for example "client is using or hasn't closed the table properly". - Print "Table is fixed" if check succeded in fixing the table.
This commit is contained in:
@@ -7593,8 +7593,14 @@ void THD::reset_for_next_command(bool do_clear_error)
|
||||
DBUG_ASSERT(!in_sub_stmt);
|
||||
|
||||
if (likely(do_clear_error))
|
||||
{
|
||||
clear_error(1);
|
||||
|
||||
/*
|
||||
The following variable can't be reset in clear_error() as
|
||||
clear_error() is called during auto_repair of table
|
||||
*/
|
||||
error_printed_to_log= 0;
|
||||
}
|
||||
free_list= 0;
|
||||
/*
|
||||
We also assign stmt_lex in lex_start(), but during bootstrap this
|
||||
|
||||
Reference in New Issue
Block a user