Debian Codegraph @

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

raw
1 CREATE TABLESPACE ts1 ADD DATAFILE 'ts1.ibd';
2 SET GLOBAL DEBUG = '+d, sdi_set_failure';
3 CREATE TABLE t1(a INT) TABLESPACE `ts1`;
4 ERROR HY000: Failed to set SDI 'test.t1' in tablespace 'ts1'.
5 SET GLOBAL DEBUG = '-d, sdi_set_failure';
6 CREATE TABLE t1(a INT) TABLESPACE `ts1`;
7 INSERT INTO t1 VALUES (1), (2), (3);
8 SET GLOBAL DEBUG = '+d, sdi_delete_failure';
9 DROP TABLE t1;
10 ERROR HY000: Failed to delete SDI 'test.t1' in tablespace 'ts1'.
11 SET GLOBAL DEBUG = '-d, sdi_delete_failure';
12 SELECT * FROM t1;
13 a
14 1
15 2
16 3
17 DROP TABLE t1;
18 DROP TABLESPACE ts1;