Debian Codegraph @

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

raw
1 #
2 # Bug #27852003 LOG::ALLOC_LOB_PAGE MAY FAIL AND RETURN NULLPTR
3 # BUT IT IS NOT HANDLED
4 #
5 SET GLOBAL innodb_compression_level = 0;
6 CREATE TABLE t1 (f1 INT PRIMARY KEY, f2 LONGBLOB) ROW_FORMAT=compressed;
7 SET DEBUG = '+d,innodb_alloc_lob_page_failed';
8 INSERT INTO t1 VALUES (1, REPEAT('x', 128*1024+1));
9 ERROR HY000: The table 't1' is full
10 SET DEBUG = '-d,innodb_alloc_lob_page_failed';
11 CREATE TABLE t2 (f1 INT PRIMARY KEY, f2 LONGBLOB) ROW_FORMAT=compressed;
12 SET DEBUG = '+d,innodb_lob_alloc_z_data_page_failed';
13 INSERT INTO t2 VALUES (1, REPEAT('x', 128*1024+1));
14 ERROR HY000: The table 't2' is full
15 SET DEBUG = '-d,innodb_lob_alloc_z_data_page_failed';
16 CREATE TABLE t3 (f1 INT PRIMARY KEY, f2 LONGBLOB) ROW_FORMAT=compressed;
17 SET DEBUG = '+d,innodb_lob_alloc_z_frag_page_failed';
18 INSERT INTO t3 VALUES (1, repeat('x', 128*1024+1));
19 ERROR HY000: The table 't3' is full
20 SET DEBUG = '-d,innodb_lob_alloc_z_frag_page_failed';
21 CREATE TABLE t4 (f1 INT PRIMARY KEY, f2 LONGBLOB) ROW_FORMAT=compressed;
22 SET DEBUG = '+d,innodb_lob_alloc_z_index_page_failed';
23 INSERT INTO t4 VALUES (1, REPEAT('x', 14417920));
24 ERROR HY000: The table 't4' is full
25 SET DEBUG = '-d,innodb_lob_alloc_z_index_page_failed';
26 CREATE TABLE t5 (f1 INT PRIMARY KEY, f2 LONGBLOB) ROW_FORMAT=compressed;
27 SET DEBUG = '+d,innodb_zlob_first_use_only_1_frag_entries';
28 SET DEBUG = '+d,innodb_lob_alloc_z_frag_node_page_failed';
29 INSERT INTO t5 VALUES (1, REPEAT('x', 28000000));
30 ERROR HY000: The table 't5' is full
31 SET DEBUG = '-d,innodb_lob_alloc_z_frag_node_page_failed';
32 SET DEBUG = '-d,innodb_zlob_first_use_only_1_frag_entries';
33 FLUSH TABLES t1, t2, t3, t4, t5 FOR EXPORT;
34 UNLOCK TABLES;
35 DROP TABLE t1;
36 DROP TABLE t2;
37 DROP TABLE t3;
38 DROP TABLE t4;
39 DROP TABLE t5;
40 SET GLOBAL innodb_compression_level = default;