From 794a895c4c12bc45321c3c7000441204946d9129 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Fri, 19 Jun 2015 19:46:12 +0200 Subject: simplify CREATE TEMPORARY TABLE parser rule as a bonus that makes CREATE TEMPORARY TEMPORARY TABLE illegal --- mysql-test/r/temp_table.result | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mysql-test/r/temp_table.result') diff --git a/mysql-test/r/temp_table.result b/mysql-test/r/temp_table.result index 0a1701be0d7..dca925040b0 100644 --- a/mysql-test/r/temp_table.result +++ b/mysql-test/r/temp_table.result @@ -291,3 +291,5 @@ test.t1 repair status OK test.t2 repair status OK test.t3 repair status OK DROP TABLES t1, t2, t3; +create temporary temporary table t1 (a int); +ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'temporary table t1 (a int)' at line 1 -- cgit v1.2.1