mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
7f444caa0a
MDEV-11 - Modifed tests and result files to use explicit column lists in INSERT and SELECT statements
19 lines
472 B
Text
19 lines
472 B
Text
DROP TABLE IF EXISTS t1, t2;
|
|
CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
|
|
ALTER TABLE t1 DISCARD TABLESPACE;
|
|
DROP TABLE t1;
|
|
CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
|
|
INSERT INTO t1 (a) VALUES (1),(2);
|
|
SELECT a FROM t1;
|
|
a
|
|
1
|
|
2
|
|
ALTER TABLE t1 DISCARD TABLESPACE;
|
|
SELECT a FROM t1;
|
|
ERROR HY000: Got error -1 from storage engine
|
|
ALTER TABLE t1 IMPORT TABLESPACE;
|
|
SELECT a FROM t1;
|
|
a
|
|
1
|
|
2
|
|
DROP TABLE t1;
|