diff options
author | Michal Čihař <michal@cihar.com> | 2016-03-19 18:19:09 +0100 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-03-19 18:19:09 +0100 |
commit | 9d8ae92a7c9e489eac4c7e4fb67b90c4f7a145b2 (patch) | |
tree | f89e1e2a3dc087b494420425ecc4152325764970 /tests/Parser | |
parent | 09acfe4d548c6209478cc6e7bbf4c3e28c08a1fe (diff) | |
download | sql-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.php | 2 |
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'), |