mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
# Bug#69122 - INNODB DOESN'T REDO-LOG INSERT BUFFER MERGE
|
||||
# OPERATION IF IT IS DONE IN-PLACE
|
||||
#
|
||||
call mtr.add_suppression("InnoDB: innodb_read_only prevents crash recovery");
|
||||
call mtr.add_suppression("Plugin initialization aborted at srv0start\\.cc");
|
||||
call mtr.add_suppression("Plugin 'InnoDB'");
|
||||
FLUSH TABLES;
|
||||
CREATE TABLE t1(
|
||||
a INT AUTO_INCREMENT PRIMARY KEY,
|
||||
b CHAR(1),
|
||||
@ -9,20 +13,7 @@ c INT,
|
||||
INDEX(b))
|
||||
ENGINE=InnoDB STATS_PERSISTENT=0;
|
||||
SET GLOBAL innodb_change_buffering_debug = 1;
|
||||
INSERT INTO t1 VALUES(0,'x',1);
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,b,c FROM t1;
|
||||
INSERT INTO t1 SELECT 0,'x',1 FROM seq_1_to_8192;
|
||||
BEGIN;
|
||||
SELECT b FROM t1 LIMIT 3;
|
||||
b
|
||||
@ -38,9 +29,26 @@ SELECT b FROM t1 LIMIT 3;
|
||||
ERROR HY000: Lost connection to MySQL server during query
|
||||
disconnect con1;
|
||||
connection default;
|
||||
FOUND 1 /Wrote log record for ibuf update in place operation/ in my_restart.err
|
||||
FOUND 1 /Wrote log record for ibuf update in place operation/ in mysqld.1.err
|
||||
# restart: --innodb-read-only
|
||||
CHECK TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check Error Unknown storage engine 'InnoDB'
|
||||
test.t1 check error Corrupt
|
||||
FOUND 1 /innodb_read_only prevents crash recovery/ in mysqld.1.err
|
||||
# restart: --innodb-force-recovery=5
|
||||
SELECT * FROM t1 LIMIT 1;
|
||||
a b c
|
||||
1 X 1
|
||||
SHOW ENGINE INNODB STATUS;
|
||||
Type Name Status
|
||||
InnoDB insert 0, delete mark 0
|
||||
SET GLOBAL innodb_fast_shutdown=0;
|
||||
# restart
|
||||
CHECK TABLE t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
SHOW ENGINE INNODB STATUS;
|
||||
Type Name Status
|
||||
InnoDB insert 79, delete mark 1
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user