Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.6, 10.9(EOL), 10.10(EOL), 10.11, 11.0(EOL), 11.1(EOL)
-
None
Description
--source include/have_innodb.inc
|
|
set global innodb_stats_persistent= on; |
|
CREATE SEQUENCE s1 ENGINE=InnoDB; |
CREATE SEQUENCE s2 ENGINE=InnoDB; |
SHOW CREATE SEQUENCE s1; |
SHOW CREATE SEQUENCE s2; |
DROP SEQUENCE s2; |
RENAME TABLE s1 TO s2; |
|
# Cleanup
|
DROP SEQUENCE s2; |
10.6 8171f9da |
mysqltest: At line 10: query 'RENAME TABLE s1 TO s2' failed: ER_DUP_KEY (1022): Can't write; duplicate key in table 'mysql.innodb_table_stats' |
The failure started happening after this commit in 10.6.2
commit 1bd681c8b3c5213ce1f7976940a7dc38b48a0d39
|
Author: Marko Mäkelä
|
Date: Wed Jun 9 17:02:55 2021 +0300
|
|
MDEV-25506 (3 of 3): Do not delete .ibd files before commit
|