diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-06 13:47:55 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-06 13:47:55 +0300 |
commit | f20c63264ab4170fc8e45093042bd2e7272ce9fc (patch) | |
tree | e0f6d7302dcd8535b311c9ef2589db15d40ee4b5 | |
parent | 459e8619f2e3b72e5813d04a358f4e31637649f0 (diff) | |
download | mariadb-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.test | 2 |
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 |