summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-05-06 13:47:55 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-05-06 13:47:55 +0300
commitf20c63264ab4170fc8e45093042bd2e7272ce9fc (patch)
treee0f6d7302dcd8535b311c9ef2589db15d40ee4b5
parent459e8619f2e3b72e5813d04a358f4e31637649f0 (diff)
downloadmariadb-git-f20c63264ab4170fc8e45093042bd2e7272ce9fc.tar.gz
MDEV-21462: Actually test for the original bugmariadb-5.5.68
We must ensure that the NUL will not terminate the query string.
-rw-r--r--mysql-test/t/processlist_notembedded.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/processlist_notembedded.test b/mysql-test/t/processlist_notembedded.test
index 82cdfc2d20e..b07ac00a44a 100644
--- a/mysql-test/t/processlist_notembedded.test
+++ b/mysql-test/t/processlist_notembedded.test
@@ -11,7 +11,7 @@ connect (con1,localhost,root,,);
connection con1;
-let $q= `select CONCAT("SELECT user sleep FROM mysql.user WHERE user ='some", CHAR(0), "'")`;
+let $q= `select CONCAT("SELECT user FROM mysql.user WHERE user ='some", CHAR(0), "sleep'")`;
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
--disable_query_log