summaryrefslogtreecommitdiffstats
path: root/tests/Utils/QueryTest.php
diff options
context:
space:
mode:
authorDeven Bansod <devenbansod.bits@gmail.com>2017-07-07 21:09:55 +0530
committerDeven Bansod <devenbansod.bits@gmail.com>2017-07-07 21:09:55 +0530
commit10d308d3dc5bc6401157562de46d342bc1bba9d1 (patch)
treefb784e147b109d237504a6198c5b1f899948c178 /tests/Utils/QueryTest.php
parentac5a391dbcabd12fd54f6e1c5a5625e93760f636 (diff)
downloadsql-parser-10d308d3dc5bc6401157562de46d342bc1bba9d1.zip
sql-parser-10d308d3dc5bc6401157562de46d342bc1bba9d1.tar.gz
sql-parser-10d308d3dc5bc6401157562de46d342bc1bba9d1.tar.bz2
Add recognizer for SET Statements
Fix #157 Add Tests for SET statement flag Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'tests/Utils/QueryTest.php')
-rw-r--r--tests/Utils/QueryTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php
index 9f54b7b..124b161 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -263,6 +263,12 @@ class QueryTest extends TestCase
'select_from' => true,
),
),
+ array(
+ 'SET NAMES \'latin\'',
+ array(
+ 'querytype' => 'SET',
+ ),
+ ),
);
}