diff options
author | Michal Čihař <michal@cihar.com> | 2016-04-26 15:40:55 +0200 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-04-26 15:47:45 +0200 |
commit | 1ec169a2a76110bbd0734da23a43c4d23c1eecfb (patch) | |
tree | 78b55a222baa2c47e99a61a07cc0ae522ba94295 /tests/Utils/QueryTest.php | |
parent | d3c22e1e82ada886a95d0ff26df999fefe01ef60 (diff) | |
download | sql-parser-1ec169a2a76110bbd0734da23a43c4d23c1eecfb.zip sql-parser-1ec169a2a76110bbd0734da23a43c4d23c1eecfb.tar.gz sql-parser-1ec169a2a76110bbd0734da23a43c4d23c1eecfb.tar.bz2 |
Allow to use function name in ASv3.4.4
Fixes https://github.com/phpmyadmin/phpmyadmin/issues/12144
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Utils/QueryTest.php')
-rw-r--r-- | tests/Utils/QueryTest.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php index e73696b..b3f0ab6 100644 --- a/tests/Utils/QueryTest.php +++ b/tests/Utils/QueryTest.php @@ -246,6 +246,14 @@ class QueryTest extends TestCase 'querytype' => 'SELECT' ) ), + array( + 'SELECT * FROM orders AS ord WHERE 1', + array( + 'querytype' => 'SELECT', + 'is_select' => true, + 'select_from' => true, + ) + ), ); } |