diff options
Diffstat (limited to 'mysql-test/suite/innodb/r/truncate_missing.result')
-rw-r--r-- | mysql-test/suite/innodb/r/truncate_missing.result | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/r/truncate_missing.result b/mysql-test/suite/innodb/r/truncate_missing.result new file mode 100644 index 00000000..9e28d0fe --- /dev/null +++ b/mysql-test/suite/innodb/r/truncate_missing.result @@ -0,0 +1,18 @@ +call mtr.add_suppression("InnoDB: Operating system error number "); +call mtr.add_suppression("InnoDB: (Error number \\d+ means|If you are|Cannot open datafile) "); +call mtr.add_suppression("InnoDB: Ignoring tablespace for test/t "); +call mtr.add_suppression("InnoDB: Table test/t .* does not exist"); +CREATE TABLE t (a SERIAL) ENGINE=InnoDB; +INSERT INTO t() VALUES(); +SHOW CREATE TABLE t; +Table Create Table +t CREATE TABLE `t` ( + `a` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + UNIQUE KEY `a` (`a`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci +# restart +SELECT * FROM t; +ERROR HY000: Got error 194 "Tablespace is missing for a table" from storage engine InnoDB +TRUNCATE TABLE t; +ERROR HY000: Got error 194 "Tablespace is missing for a table" from storage engine InnoDB +DROP TABLE t; |