diff options
author | Deven Bansod <devenbansod.bits@gmail.com> | 2016-09-20 11:38:36 +0530 |
---|---|---|
committer | Deven Bansod <devenbansod.bits@gmail.com> | 2016-09-20 12:01:53 +0530 |
commit | 34b1308d30efe6e91e0883fdce1bf4d1fce447b9 (patch) | |
tree | 06910bbb4b71c6320ebdd84ab9baa868ea0bb274 /tests/Parser/CreateStatementTest.php | |
parent | 5988855152a5c8adcc874e9868e97adcbfcd7d69 (diff) | |
download | sql-parser-34b1308d30efe6e91e0883fdce1bf4d1fce447b9.zip sql-parser-34b1308d30efe6e91e0883fdce1bf4d1fce447b9.tar.gz sql-parser-34b1308d30efe6e91e0883fdce1bf4d1fce447b9.tar.bz2 |
Fix parsing of user@host without backquotes
Introduce an option to parse 'expr=' (like var, var=, expr)
Fix tests
Fix phpmyadmin/phpmyadmin#12298
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'tests/Parser/CreateStatementTest.php')
-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 69df835..6f8b71b 100644 --- a/tests/Parser/CreateStatementTest.php +++ b/tests/Parser/CreateStatementTest.php @@ -41,6 +41,8 @@ class CreateStatementTest extends TestCase array('parser/parseCreateUser'), array('parser/parseCreateView'), array('parser/parseCreateView2'), + array('parser/parseCreateViewWithoutQuotes'), + array('parser/parseCreateViewWithQuotes'), ); } } |