mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Use truncate instead of delete to make stat_tables.inc more repeatable
This commit is contained in:
@ -20,9 +20,9 @@ set optimizer_switch='extended_keys=off';
|
|||||||
--disable_result_log
|
--disable_result_log
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
--source include/dbt3_s001.inc
|
--source include/dbt3_s001.inc
|
||||||
delete from mysql.table_stats;
|
truncate mysql.table_stats;
|
||||||
delete from mysql.column_stats;
|
truncate mysql.column_stats;
|
||||||
delete from mysql.index_stats;
|
truncate mysql.index_stats;
|
||||||
ANALYZE TABLE
|
ANALYZE TABLE
|
||||||
customer, lineitem, nation, orders, part, partsupp, region, supplier;
|
customer, lineitem, nation, orders, part, partsupp, region, supplier;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
|
Reference in New Issue
Block a user