Skip to content

Commit e0139c2

Browse files
committed
fix plugins.processlist
make it not to fail when `show engine innodb status` output contains a double quote
1 parent 5e67567 commit e0139c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mysql-test/suite/plugins/t/processlist.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ start transaction;
88
insert t1 values (1);
99
let id=`select connection_id()`;
1010
connect con2,localhost,root;
11-
let s=query_get_value(show engine innodb status,Status,1);
11+
replace_regex /\"/-/; #"
12+
let s=`show engine innodb status`;
1213
disable_query_log;
1314
eval select regexp_replace("$s", '(?s)^.*MySQL thread id $id,.*root([^\n]*)\n.*', '\\\\1') as `state from show engine innodb status`;
1415
eval select state as `state from show processlist` from information_schema.processlist where id = $id;

0 commit comments

Comments
 (0)