Commit bee8d960 authored by unknown's avatar unknown

Fix test failures in variables-big in --embedded.

Problem was the use of SHOW PROCESSLIST. This is not fully functional in
embedded server, STATE is hardcoded to "Writing to net".

Fixed using --replace_result for STATE.
parent 082898f9
...@@ -38,18 +38,24 @@ ...@@ -38,18 +38,24 @@
--disable_warnings --disable_warnings
SET SESSION transaction_prealloc_size=1024*1024*1024*1; SET SESSION transaction_prealloc_size=1024*1024*1024*1;
--replace_column 1 <Id> 6 <Time> --replace_column 1 <Id> 6 <Time>
# Embedded server is hardcoded to show "Writing to net" as STATE.
--replace_result "Writing to net" "NULL"
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*2; SET SESSION transaction_prealloc_size=1024*1024*1024*2;
--replace_column 1 <Id> 6 <Time> --replace_column 1 <Id> 6 <Time>
--replace_result "Writing to net" "NULL"
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*3; SET SESSION transaction_prealloc_size=1024*1024*1024*3;
--replace_column 1 <Id> 6 <Time> --replace_column 1 <Id> 6 <Time>
--replace_result "Writing to net" "NULL"
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*4; SET SESSION transaction_prealloc_size=1024*1024*1024*4;
--replace_column 1 <Id> 6 <Time> --replace_column 1 <Id> 6 <Time>
--replace_result "Writing to net" "NULL"
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*5; SET SESSION transaction_prealloc_size=1024*1024*1024*5;
--replace_column 1 <Id> 6 <Time> --replace_column 1 <Id> 6 <Time>
--replace_result "Writing to net" "NULL"
SHOW PROCESSLIST; SHOW PROCESSLIST;
--enable_warnings --enable_warnings
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