Skip to content

Commit 10aaa77

Browse files
committed
Merge branch '5.5' into 10.1
2 parents 9c5d06a + f20c632 commit 10aaa77

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#
22
# MDEV-20466: SHOW PROCESSLIST truncates query text on \0 bytes
33
#
4-
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync';
4+
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
55
SET DEBUG_SYNC= 'now WAIT_FOR in_sync';
66
FOUND /sleep/ in MDEV-20466.text
7+
SET DEBUG_SYNC= 'now SIGNAL go';
78
SET DEBUG_SYNC = 'RESET';
89
End of 5.5 tests

mysql-test/t/processlist_notembedded.test

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source include/have_debug.inc;
22
source include/have_debug_sync.inc;
33
source include/not_embedded.inc;
4+
source include/count_sessions.inc;
45

56
--echo #
67
--echo # MDEV-20466: SHOW PROCESSLIST truncates query text on \0 bytes
@@ -10,9 +11,9 @@ connect (con1,localhost,root,,);
1011

1112
connection con1;
1213

13-
let $q= `select CONCAT("SELECT user FROM mysql.user WHERE user ='some", CHAR(0), "' or sleep (30)")`;
14+
let $q= `select CONCAT("SELECT user FROM mysql.user WHERE user ='some", CHAR(0), "sleep'")`;
1415

15-
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync';
16+
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
1617
--disable_query_log
1718
--send_eval $q;
1819
--enable_query_log
@@ -27,8 +28,12 @@ let SEARCH_PATTERN=sleep;
2728
source include/search_pattern_in_file.inc;
2829
remove_file $MYSQLTEST_VARDIR/tmp//MDEV-20466.text;
2930

31+
SET DEBUG_SYNC= 'now SIGNAL go';
32+
3033
disconnect con1;
3134

3235
SET DEBUG_SYNC = 'RESET';
3336

37+
source include/wait_until_count_sessions.inc;
38+
3439
--echo End of 5.5 tests

0 commit comments

Comments
 (0)