[Commits] e0139c2b92b: fix plugins.processlist
revision-id: e0139c2b92ba1f8819a3ed75d020d9665545e2bf (mariadb-10.0.35-70-ge0139c2b92b) parent(s): 5e67567b158db5d294b11b310ff35a454f58d034 author: Oleksandr Byelkin committer: Oleksandr Byelkin timestamp: 2018-07-24 18:16:41 +0200 message: fix plugins.processlist make it not to fail when `show engine innodb status` output contains a double quote --- mysql-test/suite/plugins/t/processlist.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql-test/suite/plugins/t/processlist.test b/mysql-test/suite/plugins/t/processlist.test index 5aacef317b9..e8f03aacb10 100644 --- a/mysql-test/suite/plugins/t/processlist.test +++ b/mysql-test/suite/plugins/t/processlist.test @@ -8,7 +8,8 @@ start transaction; insert t1 values (1); let id=`select connection_id()`; connect con2,localhost,root; -let s=query_get_value(show engine innodb status,Status,1); +replace_regex /\"/-/; #" +let s=`show engine innodb status`; disable_query_log; eval select regexp_replace("$s", '(?s)^.*MySQL thread id $id,.*root([^\n]*)\n.*', '\\\\1') as `state from show engine innodb status`; eval select state as `state from show processlist` from information_schema.processlist where id = $id;
participants (1)
-
Oleksandr Byelkin