mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Make tests pass
- Fix bad tests in statistics_json test: make them meaningful and make them work on windows - Fix analyze_debug.test: correctly handle errors during ANALYZE
This commit is contained in:
@@ -1045,7 +1045,8 @@ static bool mysql_admin_table(THD* thd, TABLE_LIST* tables,
|
||||
else
|
||||
compl_result_code= HA_ADMIN_FAILED;
|
||||
|
||||
free_statistics_for_table(thd, table->table);
|
||||
if (table->table)
|
||||
free_statistics_for_table(thd, table->table);
|
||||
if (compl_result_code)
|
||||
result_code= HA_ADMIN_FAILED;
|
||||
else
|
||||
|
Reference in New Issue
Block a user