Skip to content
Snippets Groups Projects
Commit f20c6326 authored by Marko Mäkelä's avatar Marko Mäkelä
Browse files

MDEV-21462: Actually test for the original bug

We must ensure that the NUL will not terminate the query string.
parent 459e8619
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ connect (con1,localhost,root,,); ...@@ -11,7 +11,7 @@ connect (con1,localhost,root,,);
connection con1; 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'; SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
--disable_query_log --disable_query_log
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment