summaryrefslogtreecommitdiffstats
path: root/tests/Parser
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-03-19 18:19:09 +0100
committerMichal Čihař <michal@cihar.com>2016-03-19 18:19:09 +0100
commit9d8ae92a7c9e489eac4c7e4fb67b90c4f7a145b2 (patch)
treef89e1e2a3dc087b494420425ecc4152325764970 /tests/Parser
parent09acfe4d548c6209478cc6e7bbf4c3e28c08a1fe (diff)
downloadsql-parser-9d8ae92a7c9e489eac4c7e4fb67b90c4f7a145b2.zip
sql-parser-9d8ae92a7c9e489eac4c7e4fb67b90c4f7a145b2.tar.gz
sql-parser-9d8ae92a7c9e489eac4c7e4fb67b90c4f7a145b2.tar.bz2
Properly parse CREATE TABLE [AS] SELECT
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/12109 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Parser')
-rw-r--r--tests/Parser/CreateStatementTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Parser/CreateStatementTest.php b/tests/Parser/CreateStatementTest.php
index bbbb097..2dcc9a9 100644
--- a/tests/Parser/CreateStatementTest.php
+++ b/tests/Parser/CreateStatementTest.php
@@ -29,6 +29,8 @@ class CreateStatementTest extends TestCase
array('parser/parseCreateTable4'),
array('parser/parseCreateTableErr1'),
array('parser/parseCreateTableErr2'),
+ array('parser/parseCreateTableSelect'),
+ array('parser/parseCreateTableAsSelect'),
array('parser/parseCreateTrigger'),
array('parser/parseCreateUser'),
array('parser/parseCreateView'),