summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/engines/funcs/r/ta_rename.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/suite/engines/funcs/r/ta_rename.result
parentInitial commit. (diff)
downloadmariadb-upstream.tar.xz
mariadb-upstream.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/suite/engines/funcs/r/ta_rename.result')
-rw-r--r--mysql-test/suite/engines/funcs/r/ta_rename.result801
1 files changed, 801 insertions, 0 deletions
diff --git a/mysql-test/suite/engines/funcs/r/ta_rename.result b/mysql-test/suite/engines/funcs/r/ta_rename.result
new file mode 100644
index 00000000..1528e6fe
--- /dev/null
+++ b/mysql-test/suite/engines/funcs/r/ta_rename.result
@@ -0,0 +1,801 @@
+DROP TABLE IF EXISTS t1;
+CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` bit(1) NOT NULL,
+ `c2` bit(1) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` bit(1) NOT NULL,
+ `c2` bit(1) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` tinyint(4) NOT NULL,
+ `c2` tinyint(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` tinyint(4) NOT NULL,
+ `c2` tinyint(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` smallint(6) NOT NULL,
+ `c2` smallint(6) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` smallint(6) NOT NULL,
+ `c2` smallint(6) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` mediumint(9) NOT NULL,
+ `c2` mediumint(9) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` mediumint(9) NOT NULL,
+ `c2` mediumint(9) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 INT NOT NULL, c2 INT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` bigint(20) NOT NULL,
+ `c2` bigint(20) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` bigint(20) NOT NULL,
+ `c2` bigint(20) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` float NOT NULL,
+ `c2` float DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` float NOT NULL,
+ `c2` float DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` date NOT NULL,
+ `c2` date DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` date NOT NULL,
+ `c2` date DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` time NOT NULL,
+ `c2` time DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` time NOT NULL,
+ `c2` time DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` timestamp NOT NULL,
+ `c2` timestamp NULL DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` timestamp NOT NULL,
+ `c2` timestamp NULL DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` year(4) NOT NULL,
+ `c2` year(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` year(4) NOT NULL,
+ `c2` year(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 BIT NOT NULL, c2 BIT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` bit(1) NOT NULL,
+ `c2` bit(1) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` bit(1) NOT NULL,
+ `c2` bit(1) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 TINYINT NOT NULL, c2 TINYINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` tinyint(4) NOT NULL,
+ `c2` tinyint(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` tinyint(4) NOT NULL,
+ `c2` tinyint(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 SMALLINT NOT NULL, c2 SMALLINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` smallint(6) NOT NULL,
+ `c2` smallint(6) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` smallint(6) NOT NULL,
+ `c2` smallint(6) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 MEDIUMINT NOT NULL, c2 MEDIUMINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` mediumint(9) NOT NULL,
+ `c2` mediumint(9) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` mediumint(9) NOT NULL,
+ `c2` mediumint(9) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 INT NOT NULL, c2 INT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 INTEGER NOT NULL, c2 INTEGER);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` int(11) NOT NULL,
+ `c2` int(11) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 BIGINT NOT NULL, c2 BIGINT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` bigint(20) NOT NULL,
+ `c2` bigint(20) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` bigint(20) NOT NULL,
+ `c2` bigint(20) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 REAL NOT NULL, c2 REAL);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 DOUBLE NOT NULL, c2 DOUBLE);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` double NOT NULL,
+ `c2` double DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 FLOAT NOT NULL, c2 FLOAT);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` float NOT NULL,
+ `c2` float DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` float NOT NULL,
+ `c2` float DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 DECIMAL NOT NULL, c2 DECIMAL);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 NUMERIC NOT NULL, c2 NUMERIC);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` decimal(10,0) NOT NULL,
+ `c2` decimal(10,0) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 DATE NOT NULL, c2 DATE);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` date NOT NULL,
+ `c2` date DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` date NOT NULL,
+ `c2` date DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 TIME NOT NULL, c2 TIME);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` time NOT NULL,
+ `c2` time DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` time NOT NULL,
+ `c2` time DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 TIMESTAMP NOT NULL, c2 TIMESTAMP);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` timestamp NOT NULL,
+ `c2` timestamp NULL DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` timestamp NOT NULL,
+ `c2` timestamp NULL DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test
+CREATE TABLE t1(c1 YEAR NOT NULL, c2 YEAR);
+SHOW TABLES;
+Tables_in_test
+t1
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` year(4) NOT NULL,
+ `c2` year(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+ALTER TABLE t1 RENAME TO t2;
+SHOW TABLES;
+Tables_in_test
+t2
+DROP TABLE t1;
+ERROR 42S02: Unknown table 'test.t1'
+SHOW CREATE TABLE t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `c1` year(4) NOT NULL,
+ `c2` year(4) DEFAULT NULL
+) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+DROP TABLE t2;
+SHOW TABLES;
+Tables_in_test