-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'github/10.1' into 10.2
- Loading branch information
Showing
4 changed files
with
41 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters