@@ -5,10 +5,10 @@ INSERT INTO t1 (a, b) VALUES (2, 6);
5
5
INSERT INTO t1 (a, b) VALUES (3, 7);
6
6
# crash_during_online_index_creation
7
7
flush logs;
8
- SET SESSION debug ="+d,crash_during_online_index_creation";
8
+ SET SESSION debug_dbug ="+d,crash_during_online_index_creation";
9
9
ALTER TABLE t1 ADD INDEX kb(b), ALGORITHM=INPLACE;
10
10
ERROR HY000: Lost connection to MySQL server during query
11
- SET SESSION debug ="-d,crash_during_online_index_creation";
11
+ SET SESSION debug_dbug ="-d,crash_during_online_index_creation";
12
12
SHOW CREATE TABLE t1;
13
13
Table Create Table
14
14
t1 CREATE TABLE `t1` (
@@ -24,14 +24,14 @@ DROP TABLE t1;
24
24
CREATE TABLE t1 (i INT, j INT, k INT, PRIMARY KEY (i), KEY(j)) ENGINE = ROCKSDB PARTITION BY KEY(i) PARTITIONS 4;
25
25
# crash_during_index_creation_partition
26
26
flush logs;
27
- SET SESSION debug ="+d,crash_during_index_creation_partition";
27
+ SET SESSION debug_dbug ="+d,crash_during_index_creation_partition";
28
28
ALTER TABLE t1 ADD INDEX kij(i,j), ALGORITHM=INPLACE;
29
29
ERROR HY000: Lost connection to MySQL server during query
30
- SET SESSION debug ="-d,crash_during_index_creation_partition";
30
+ SET SESSION debug_dbug ="-d,crash_during_index_creation_partition";
31
31
SHOW CREATE TABLE t1;
32
32
Table Create Table
33
33
t1 CREATE TABLE `t1` (
34
- `i` int(11) NOT NULL DEFAULT '0' ,
34
+ `i` int(11) NOT NULL,
35
35
`j` int(11) DEFAULT NULL,
36
36
`k` int(11) DEFAULT NULL,
37
37
PRIMARY KEY (`i`),
@@ -59,17 +59,17 @@ DROP TABLE t1;
59
59
CREATE TABLE t1 (i INT, j INT, k INT, PRIMARY KEY (i), KEY(j)) ENGINE = ROCKSDB PARTITION BY KEY(i) PARTITIONS 4;
60
60
# crash_during_index_creation_partition
61
61
flush logs;
62
- SET SESSION debug ="+d,myrocks_simulate_index_create_rollback";
62
+ SET SESSION debug_dbug ="+d,myrocks_simulate_index_create_rollback";
63
63
# expected assertion failure from sql layer here for alter rollback
64
64
call mtr.add_suppression("Assertion `0' failed.");
65
65
call mtr.add_suppression("Attempting backtrace. You can use the following information to find out");
66
66
ALTER TABLE t1 ADD INDEX kij(i,j), ALGORITHM=INPLACE;
67
67
ERROR HY000: Lost connection to MySQL server during query
68
- SET SESSION debug ="-d,myrocks_simulate_index_create_rollback";
68
+ SET SESSION debug_dbug ="-d,myrocks_simulate_index_create_rollback";
69
69
SHOW CREATE TABLE t1;
70
70
Table Create Table
71
71
t1 CREATE TABLE `t1` (
72
- `i` int(11) NOT NULL DEFAULT '0' ,
72
+ `i` int(11) NOT NULL,
73
73
`j` int(11) DEFAULT NULL,
74
74
`k` int(11) DEFAULT NULL,
75
75
PRIMARY KEY (`i`),
@@ -81,7 +81,7 @@ ALTER TABLE t1 ADD INDEX kij(i,j), ALGORITHM=INPLACE;
81
81
SHOW CREATE TABLE t1;
82
82
Table Create Table
83
83
t1 CREATE TABLE `t1` (
84
- `i` int(11) NOT NULL DEFAULT '0' ,
84
+ `i` int(11) NOT NULL,
85
85
`j` int(11) DEFAULT NULL,
86
86
`k` int(11) DEFAULT NULL,
87
87
PRIMARY KEY (`i`),
0 commit comments