Commit 76d8a43e authored by unknown's avatar unknown

MDEV-571

Adjusted test case results after the merge 10.0-base, 10.0-monty.
The results are in sync with MySQL 5.6.7.
parent cd1de362
...@@ -14,7 +14,7 @@ set debug_sync='now WAIT_FOR parked'; ...@@ -14,7 +14,7 @@ set debug_sync='now WAIT_FOR parked';
insert into t2 values (1); insert into t2 values (1);
insert into t1 values (1, 1, 1);; insert into t1 values (1, 1, 1);;
set debug_sync='now SIGNAL go'; set debug_sync='now SIGNAL go';
show binlog events from <binlog_start>; include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # BEGIN
master-bin.000001 # Query # # use `test`; insert into t2 values (1) master-bin.000001 # Query # # use `test`; insert into t2 values (1)
...@@ -57,7 +57,7 @@ rename table t1 to t3; ...@@ -57,7 +57,7 @@ rename table t1 to t3;
drop table t3; drop table t3;
set debug_sync='alter_table_before_main_binlog SIGNAL parked WAIT_FOR go'; set debug_sync='alter_table_before_main_binlog SIGNAL parked WAIT_FOR go';
set debug_sync='RESET'; set debug_sync='RESET';
show binlog events from <binlog_start>; include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # use `test`; alter table t1 change i c char(10) default 'Test1' master-bin.000001 # Query # # use `test`; alter table t1 change i c char(10) default 'Test1'
master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # BEGIN
......
...@@ -186,7 +186,7 @@ t2 CREATE TABLE `t2` ( ...@@ -186,7 +186,7 @@ t2 CREATE TABLE `t2` (
`i` int(11) DEFAULT NULL `i` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t2; drop table t2;
show binlog events from <binlog_start>; include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # BEGIN
master-bin.000001 # Query # # use `test`; insert into t1 values (1) master-bin.000001 # Query # # use `test`; insert into t1 values (1)
...@@ -214,7 +214,7 @@ drop table t1;; ...@@ -214,7 +214,7 @@ drop table t1;;
set debug_sync='now SIGNAL go'; set debug_sync='now SIGNAL go';
drop table t2; drop table t2;
set debug_sync='RESET'; set debug_sync='RESET';
show binlog events from <binlog_start>; include/show_binlog_events.inc
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # use `test`; create table t2 like t1 master-bin.000001 # Query # # use `test`; create table t2 like t1
master-bin.000001 # Query # # BEGIN master-bin.000001 # Query # # BEGIN
......
...@@ -2,20 +2,20 @@ SET @def_var= @@session.transaction_prealloc_size; ...@@ -2,20 +2,20 @@ SET @def_var= @@session.transaction_prealloc_size;
SET SESSION transaction_prealloc_size=1024*1024*1024*1; SET SESSION transaction_prealloc_size=1024*1024*1024*1;
SHOW PROCESSLIST; SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress Id User Host db Command Time State Info Progress
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST 0.000 <Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST 0.000
SET SESSION transaction_prealloc_size=1024*1024*1024*2; SET SESSION transaction_prealloc_size=1024*1024*1024*2;
SHOW PROCESSLIST; SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress Id User Host db Command Time State Info Progress
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST 0.000 <Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST 0.000
SET SESSION transaction_prealloc_size=1024*1024*1024*3; SET SESSION transaction_prealloc_size=1024*1024*1024*3;
SHOW PROCESSLIST; SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress Id User Host db Command Time State Info Progress
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST 0.000 <Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST 0.000
SET SESSION transaction_prealloc_size=1024*1024*1024*4; SET SESSION transaction_prealloc_size=1024*1024*1024*4;
SHOW PROCESSLIST; SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress Id User Host db Command Time State Info Progress
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST 0.000 <Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST 0.000
SET SESSION transaction_prealloc_size=1024*1024*1024*5; SET SESSION transaction_prealloc_size=1024*1024*1024*5;
SHOW PROCESSLIST; SHOW PROCESSLIST;
Id User Host db Command Time State Info Progress Id User Host db Command Time State Info Progress
<Id> root <Host> test Query <Time> NULL SHOW PROCESSLIST 0.000 <Id> root <Host> test Query <Time> <State> SHOW PROCESSLIST 0.000
...@@ -42,35 +42,24 @@ SET @def_var= @@session.transaction_prealloc_size; ...@@ -42,35 +42,24 @@ SET @def_var= @@session.transaction_prealloc_size;
--disable_warnings --disable_warnings
SET SESSION transaction_prealloc_size=1024*1024*1024*1; SET SESSION transaction_prealloc_size=1024*1024*1024*1;
# Embedded server is hardcoded to show "Writing to net" as STATE. # Embedded server is shows "cleaning up" as STATE, while non-embedded shows "init"
--replace_result "Writing to net" "NULL" --replace_column 1 <Id> 3 <Host> 6 <Time> 7 <State>
--replace_column 1 <Id> 3 <Host> 6 <Time>
# Embedded server is hardcoded to show "Writing to net" as STATE.
--replace_result "Writing to net" "NULL"
--replace_regex /localhost[:0-9]*/localhost/ --replace_regex /localhost[:0-9]*/localhost/
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*2; SET SESSION transaction_prealloc_size=1024*1024*1024*2;
--replace_result "Writing to net" "NULL" --replace_column 1 <Id> 3 <Host> 6 <Time> 7 <State>
--replace_column 1 <Id> 3 <Host> 6 <Time>
--replace_result "Writing to net" "NULL"
--replace_regex /localhost[:0-9]*/localhost/ --replace_regex /localhost[:0-9]*/localhost/
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*3; SET SESSION transaction_prealloc_size=1024*1024*1024*3;
--replace_result "Writing to net" "NULL" --replace_column 1 <Id> 3 <Host> 6 <Time> 7 <State>
--replace_column 1 <Id> 3 <Host> 6 <Time>
--replace_result "Writing to net" "NULL"
--replace_regex /localhost[:0-9]*/localhost/ --replace_regex /localhost[:0-9]*/localhost/
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*4; SET SESSION transaction_prealloc_size=1024*1024*1024*4;
--replace_result "Writing to net" "NULL" --replace_column 1 <Id> 3 <Host> 6 <Time> 7 <State>
--replace_column 1 <Id> 3 <Host> 6 <Time>
--replace_result "Writing to net" "NULL"
--replace_regex /localhost[:0-9]*/localhost/ --replace_regex /localhost[:0-9]*/localhost/
SHOW PROCESSLIST; SHOW PROCESSLIST;
SET SESSION transaction_prealloc_size=1024*1024*1024*5; SET SESSION transaction_prealloc_size=1024*1024*1024*5;
--replace_result "Writing to net" "NULL" --replace_column 1 <Id> 3 <Host> 6 <Time> 7 <State>
--replace_column 1 <Id> 3 <Host> 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