mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
7f444caa0a
MDEV-11 - Modifed tests and result files to use explicit column lists in INSERT and SELECT statements
11 lines
280 B
Text
11 lines
280 B
Text
DROP TABLE IF EXISTS t1;
|
|
CREATE TABLE t1 (a <INT_COLUMN>, b <CHAR_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
|
|
SHOW CREATE TABLE t1;
|
|
SHOW COLUMNS IN t1;
|
|
INSERT INTO t1 VALUES (1,'a');
|
|
INSERT INTO t1 (a,b) VALUES (2,'b');
|
|
SELECT a,b FROM t1;
|
|
a b
|
|
1 a
|
|
2 b
|
|
DROP TABLE t1;
|