Skip to content

Commit c262036

Browse files
Bug #25385590 DROP TABLE CRASHES IF INNODB_FORCE_RECOVERY > 4
- Fixing ibuf_not_empty testcase in mysql-5.6
1 parent 722b8b0 commit c262036

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ INSERT INTO t1 SELECT 0,b,c FROM t1;
2323
INSERT INTO t1 SELECT 0,b,c FROM t1;
2424
# Stop server
2525
# Restart server.
26-
select count(*) from t1;
27-
count(*)
28-
8114
26+
insert into t1 values(0,'y',1);
27+
ERROR HY000: Can't lock file (errno: 165 - Table is read only)
2928
# Stop server
3029
# Restart server.
3130
DROP TABLE t1;

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ INSERT INTO t1 SELECT 0,b,c FROM t1;
6767
# Turn off reconnect again
6868
--disable_reconnect
6969

70-
select count(*) from t1;
70+
--error ER_CANT_LOCK
71+
insert into t1 values(0,'y',1);
7172

7273
# Restart the server in force recovery mode
7374
--echo # Stop server

0 commit comments

Comments
 (0)