Commit 70021737 authored by Nayuta Yanagisawa's avatar Nayuta Yanagisawa

MDEV-27172 fixup: spider/bugfix.mdev_27172 failed with --ps-protocol

parent d2e649ae
...@@ -64,12 +64,11 @@ SELECT * FROM tbl_c WHERE greeting = "Aloha!" ...@@ -64,12 +64,11 @@ SELECT * FROM tbl_c WHERE greeting = "Aloha!"
id greeting id greeting
2 Aloha! 2 Aloha!
connection child2_1; connection child2_1;
SELECT argument FROM mysql.general_log WHERE argument LIKE 'select %'; SELECT argument FROM mysql.general_log WHERE argument LIKE 'select `id`,`greeting` from %';
argument argument
select `id`,`greeting` from `auto_test_remote`.`tbl_a` where `greeting` = 'Aloha!' and ((`greeting` = 'Aloha!')) select `id`,`greeting` from `auto_test_remote`.`tbl_a` where `greeting` = 'Aloha!' and ((`greeting` = 'Aloha!'))
select `id`,`greeting` from `auto_test_remote`.`tbl_b` where `greeting` like 'Aloha%' and ((`greeting` = 'Aloha!')) select `id`,`greeting` from `auto_test_remote`.`tbl_b` where `greeting` like 'Aloha%' and ((`greeting` = 'Aloha!'))
select `id`,`greeting` from `auto_test_remote`.`tbl_c` where `greeting` like 'Aloha%' and ((`greeting` = 'Aloha!')) select `id`,`greeting` from `auto_test_remote`.`tbl_c` where `greeting` like 'Aloha%' and ((`greeting` = 'Aloha!'))
SELECT argument FROM mysql.general_log WHERE argument LIKE 'select %'
connection child2_1; connection child2_1;
SET @@global.general_log = @general_log_backup; SET @@global.general_log = @general_log_backup;
SET @@global.log_output = @log_output_backup; SET @@global.log_output = @log_output_backup;
......
...@@ -75,7 +75,7 @@ SELECT * FROM tbl_c WHERE greeting = "Aloha!" ...@@ -75,7 +75,7 @@ SELECT * FROM tbl_c WHERE greeting = "Aloha!"
AND CASE greeting WHEN "Aloha!" THEN "one" ELSE 'more' END = "one"; # hack to disable GBH AND CASE greeting WHEN "Aloha!" THEN "one" ELSE 'more' END = "one"; # hack to disable GBH
--connection child2_1 --connection child2_1
SELECT argument FROM mysql.general_log WHERE argument LIKE 'select %'; SELECT argument FROM mysql.general_log WHERE argument LIKE 'select `id`,`greeting` from %';
--connection child2_1 --connection child2_1
SET @@global.general_log = @general_log_backup; SET @@global.general_log = @general_log_backup;
......
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