From bf2e31500c9a0a7fcdccfb724e9447347a3ab684 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Mon, 18 Jul 2016 11:50:08 +0400 Subject: MDEV-8569 build_table_filename() doesn't support temporary tables. Temporary tables support added for RENAME and ALTER TABLE. --- mysql-test/t/temp_table.test | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mysql-test/t/temp_table.test') diff --git a/mysql-test/t/temp_table.test b/mysql-test/t/temp_table.test index f594f0c6c48..1de0f086a5e 100644 --- a/mysql-test/t/temp_table.test +++ b/mysql-test/t/temp_table.test @@ -319,3 +319,7 @@ INSERT INTO t3 VALUES (101), (102), (103); REPAIR TABLE t1, t2, t3; DROP TABLES t1, t2, t3; + +CREATE TEMPORARY TABLE t1 (a int); +RENAME TABLE t1 TO t2; +DROP TABLE t2; -- cgit v1.2.1