summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-07-09 08:59:24 +0300
committerGitHub <noreply@github.com>2017-07-09 08:59:24 +0300
commitfdc76291196e8397a5519d7e528549d43b2dd954 (patch)
tree3bdea12a3f6eaecb1f60cc8fb18a613d2a7076d0 /tests
parent8694e3ff7428d1c93c6ccaf90918b23d3f7db579 (diff)
parent10d308d3dc5bc6401157562de46d342bc1bba9d1 (diff)
downloadsql-parser-fdc76291196e8397a5519d7e528549d43b2dd954.zip
sql-parser-fdc76291196e8397a5519d7e528549d43b2dd954.tar.gz
sql-parser-fdc76291196e8397a5519d7e528549d43b2dd954.tar.bz2
Merge pull request #158 from devenbansod/add_set_querytype
Add recognizer for SET Statements
Diffstat (limited to 'tests')
-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',
+ ),
+ ),
);
}