MDEV-12627: innodb.innodb_bug14147491 does not do proper cleanup
Removed creation of unused backup file and unused variables.
This commit is contained in:
parent
c7d85db1c4
commit
57e667357a
@ -6,7 +6,6 @@ set global innodb_file_per_table=ON;
|
|||||||
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=InnoDB;
|
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=InnoDB;
|
||||||
INSERT INTO t1 (b) VALUES ('corrupt me');
|
INSERT INTO t1 (b) VALUES ('corrupt me');
|
||||||
INSERT INTO t1 (b) VALUES ('corrupt me');
|
INSERT INTO t1 (b) VALUES ('corrupt me');
|
||||||
# Backup the t1.ibd before corrupting
|
|
||||||
# Corrupt the table
|
# Corrupt the table
|
||||||
Munged a string.
|
Munged a string.
|
||||||
Munged a string.
|
Munged a string.
|
||||||
|
@ -33,14 +33,9 @@ INSERT INTO t1 (b) VALUES ('corrupt me');
|
|||||||
|
|
||||||
let $MYSQLD_DATADIR=`select @@datadir`;
|
let $MYSQLD_DATADIR=`select @@datadir`;
|
||||||
let t1_IBD = $MYSQLD_DATADIR/test/t1.ibd;
|
let t1_IBD = $MYSQLD_DATADIR/test/t1.ibd;
|
||||||
let INNODB_PAGE_SIZE=`select @@innodb_page_size`;
|
|
||||||
let MYSQLD_DATADIR=`select @@datadir`;
|
|
||||||
|
|
||||||
--source include/shutdown_mysqld.inc
|
--source include/shutdown_mysqld.inc
|
||||||
|
|
||||||
--echo # Backup the t1.ibd before corrupting
|
|
||||||
--copy_file $t1_IBD $MYSQLD_DATADIR/test/t1.ibd.backup
|
|
||||||
|
|
||||||
--echo # Corrupt the table
|
--echo # Corrupt the table
|
||||||
|
|
||||||
perl;
|
perl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user