blob: bb4495704792fb6d60aff584e8954cad0ed6a1dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
rename table mysql.table_stats to mysql.table_stats_save;
flush tables;
set use_stat_tables= PREFERABLY;
create table t1 (a int) engine=InnoDB;
start transaction;
insert t1 values (1);
insert t1 values (2);
commit;
select * from t1;
a
1
2
drop table t1;
rename table mysql.table_stats_save to mysql.table_stats;
flush tables;
|