1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Bug#40949 Debug version of MySQL server crashes when run OPTIMIZE on compressed table.

reset diagnostics area state after error message is sent
This commit is contained in:
Sergey Glukhov
2008-12-09 13:04:28 +04:00
parent 0befdab5f0
commit b3012d0867
3 changed files with 48 additions and 0 deletions

View File

@ -4319,6 +4319,7 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
table->table=0; // For query cache
if (protocol->write())
goto err;
thd->main_da.reset_diagnostics_area();
continue;
/* purecov: end */
}