1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Made the process of collecting persistent statistics killable.

This commit is contained in:
Igor Babaev
2012-08-18 11:49:14 -07:00
parent 85db02984f
commit 584cfcbebd
2 changed files with 12 additions and 4 deletions

View File

@@ -716,6 +716,8 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
!(compl_result_code=
collect_statistics_for_table(thd, table->table)))
compl_result_code= update_statistics_for_table(thd, table->table);
if (compl_result_code)
result_code= HA_ADMIN_FAILED;
}
if (result_code == HA_ADMIN_NOT_IMPLEMENTED && need_repair_or_alter)