Skip to content

Commit

Permalink
Fix occasional failure of innodb.innodb-alter-tempfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Dec 4, 2023
1 parent 99cab7e commit be1c4bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions mysql-test/suite/innodb/r/innodb-alter-tempfile.result
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ set DEBUG_SYNC="now WAIT_FOR default_signal";
# restart
disconnect con1;
SHOW KEYS FROM t1;
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment Ignored
t1 1 f1 1 f1 A # NULL NULL BTREE NO
DROP TABLE t1;
#
# MDEV-25503 InnoDB hangs on startup during recovery
Expand Down
5 changes: 4 additions & 1 deletion mysql-test/suite/innodb/t/innodb-alter-tempfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,11 @@ set DEBUG_SYNC="now WAIT_FOR default_signal";
--let $shutdown_timeout=0
--source include/restart_mysqld.inc
disconnect con1;
--replace_column 7 #
# This may occasionally display records for a corrupted index(f2).
# The original bug was about a crash during the execution of SHOW KEYS.
--disable_result_log
SHOW KEYS FROM t1;
--enable_result_log
DROP TABLE t1;
remove_files_wildcard $datadir/test #sql-*.frm;

Expand Down

0 comments on commit be1c4bd

Please sign in to comment.