1
0
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:
Monty
2020-03-23 20:13:24 +02:00
parent 3faa15cfbd
commit d23c3e03ac

View File

@ -20,9 +20,9 @@ set optimizer_switch='extended_keys=off';
--disable_result_log
--disable_warnings
--source include/dbt3_s001.inc
delete from mysql.table_stats;
delete from mysql.column_stats;
delete from mysql.index_stats;
truncate mysql.table_stats;
truncate mysql.column_stats;
truncate mysql.index_stats;
ANALYZE TABLE
customer, lineitem, nation, orders, part, partsupp, region, supplier;
--enable_warnings