mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Merge branch 'github/10.1' into 10.2
This commit is contained in:
15
mysql-test/suite/innodb/r/stat_tables.result
Normal file
15
mysql-test/suite/innodb/r/stat_tables.result
Normal file
@@ -0,0 +1,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;
|
||||
17
mysql-test/suite/innodb/t/stat_tables.test
Normal file
17
mysql-test/suite/innodb/t/stat_tables.test
Normal file
@@ -0,0 +1,17 @@
|
||||
source include/have_innodb.inc;
|
||||
|
||||
#
|
||||
# MDEV-20354 All but last insert ignored in InnoDB tables when table locked
|
||||
#
|
||||
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;
|
||||
drop table t1;
|
||||
rename table mysql.table_stats_save to mysql.table_stats;
|
||||
flush tables;
|
||||
Reference in New Issue
Block a user