Skip to content

Commit 57e6673

Browse files
committed
MDEV-12627: innodb.innodb_bug14147491 does not do proper cleanup
Removed creation of unused backup file and unused variables.
1 parent c7d85db commit 57e6673

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

mysql-test/suite/innodb/r/innodb_bug14147491.result

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ set global innodb_file_per_table=ON;
66
CREATE TABLE t1 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=InnoDB;
77
INSERT INTO t1 (b) VALUES ('corrupt me');
88
INSERT INTO t1 (b) VALUES ('corrupt me');
9-
# Backup the t1.ibd before corrupting
109
# Corrupt the table
1110
Munged a string.
1211
Munged a string.

mysql-test/suite/innodb/t/innodb_bug14147491.test

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,9 @@ INSERT INTO t1 (b) VALUES ('corrupt me');
3333

3434
let $MYSQLD_DATADIR=`select @@datadir`;
3535
let t1_IBD = $MYSQLD_DATADIR/test/t1.ibd;
36-
let INNODB_PAGE_SIZE=`select @@innodb_page_size`;
37-
let MYSQLD_DATADIR=`select @@datadir`;
3836

3937
--source include/shutdown_mysqld.inc
4038

41-
--echo # Backup the t1.ibd before corrupting
42-
--copy_file $t1_IBD $MYSQLD_DATADIR/test/t1.ibd.backup
43-
4439
--echo # Corrupt the table
4540

4641
perl;

0 commit comments

Comments
 (0)