mirror of
https://github.com/MariaDB/server.git
synced 2025-07-24 19:42:23 +03:00
10 lines
326 B
Plaintext
10 lines
326 B
Plaintext
SET sql_mode=STRICT_TRANS_TABLES;
|
|
CREATE TABLE t0 (i INT) ENGINE=MyISAM;
|
|
CREATE VIEW v1 AS SELECT * FROM t0;
|
|
CREATE VIEW v2 AS SELECT * FROM v1;
|
|
DROP VIEW IF EXISTS v1;
|
|
CREATE TABLE t1 (i INT) ENGINE=MyISAM;
|
|
INSERT INTO t1 SELECT TABLE_ROWS FROM information_schema.tables ORDER BY TABLE_ROWS;
|
|
DROP VIEW v2;
|
|
DROP TABLE t1, t0;
|