From 9d8a49af5d63f86911f3de6fb58afad6ca0aa5c8 Mon Sep 17 00:00:00 2001 From: Johan Wikman Date: Wed, 31 Oct 2018 13:41:48 +0200 Subject: [PATCH] MXS-1978 Add test that tests current behaviour --- query_classifier/test/expected.sql | 5 +++++ query_classifier/test/input.sql | 3 +++ 2 files changed, 8 insertions(+) diff --git a/query_classifier/test/expected.sql b/query_classifier/test/expected.sql index 296721754..702017af5 100644 --- a/query_classifier/test/expected.sql +++ b/query_classifier/test/expected.sql @@ -25,3 +25,8 @@ QUERY_TYPE_READ|QUERY_TYPE_WRITE QUERY_TYPE_READ|QUERY_TYPE_WRITE QUERY_TYPE_DEALLOC_PREPARE QUERY_TYPE_WRITE +QUERY_TYPE_GSYSVAR_WRITE +QUERY_TYPE_GSYSVAR_WRITE +QUERY_TYPE_GSYSVAR_WRITE + + diff --git a/query_classifier/test/input.sql b/query_classifier/test/input.sql index 94a230371..3575bcb40 100644 --- a/query_classifier/test/input.sql +++ b/query_classifier/test/input.sql @@ -25,3 +25,6 @@ SELECT IS_USED_LOCK('lock1'); SELECT RELEASE_LOCK('lock1'); deallocate prepare select_stmt; SELECT a FROM tbl FOR UPDATE; +SELECT a INTO OUTFILE 'out.txt' +SELECT a INTO DUMPFILE 'dump.txt' +SELECT a INTO @var;