| 1 |
--- suite/storage_engine/alter_tablespace.result |
| 2 |
+++ suite/storage_engine/alter_tablespace.reject |
| 3 |
@@ -1,21 +1,14 @@ |
| 4 |
DROP TABLE IF EXISTS t1, t2; |
| 5 |
CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>; |
| 6 |
ALTER TABLE t1 DISCARD TABLESPACE; |
| 7 |
-DROP TABLE t1; |
| 8 |
-CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>; |
| 9 |
-INSERT INTO t1 (a) VALUES (1),(2); |
| 10 |
-SELECT a FROM t1; |
| 11 |
-a |
| 12 |
-1 |
| 13 |
-2 |
| 14 |
-ALTER TABLE t1 DISCARD TABLESPACE; |
| 15 |
-SELECT a FROM t1; |
| 16 |
-ERROR HY000: Tablespace has been discarded for table `t1` |
| 17 |
-ALTER TABLE t1 IMPORT TABLESPACE; |
| 18 |
-Warnings: |
| 19 |
-Warning 1810 IO Read error: (2, No such file or directory) Error opening './test/t1.cfg', will attempt to import without schema verification |
| 20 |
-SELECT a FROM t1; |
| 21 |
-a |
| 22 |
-1 |
| 23 |
-2 |
| 24 |
+ERROR HY000: Storage engine <STORAGE_ENGINE> of the table `test`.`t1` doesn't have this option |
| 25 |
+# ERROR: Statement ended with errno 1031, errname ER_ILLEGAL_HA (expected to succeed) |
| 26 |
+# ------------ UNEXPECTED RESULT ------------ |
| 27 |
+# [ ALTER TABLE t1 DISCARD TABLESPACE ] |
| 28 |
+# The statement|command finished with ER_ILLEGAL_HA. |
| 29 |
+# Tablespace operations or the syntax or the mix could be unsupported. |
| 30 |
+# You can change the engine code, or create an rdiff, or disable the test by adding it to disabled.def. |
| 31 |
+# Further in this test, the message might sometimes be suppressed; a part of the test might be skipped. |
| 32 |
+# Also, this problem may cause a chain effect (more errors of different kinds in the test). |
| 33 |
+# ------------------------------------------- |
| 34 |
DROP TABLE t1; |