Commit f20c6326 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-21462: Actually test for the original bug

We must ensure that the NUL will not terminate the query string.
parent 459e8619
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment