Commit ff84f404 authored by unknown's avatar unknown

bug#30435

refining the test after it failed on pb.


mysql-test/r/rpl_loaddata_map.result:
  results changed
mysql-test/t/rpl_loaddata_map.test:
  refining the test
parent ce187c0d
...@@ -11,7 +11,7 @@ max_allowed_packet 7168 ...@@ -11,7 +11,7 @@ max_allowed_packet 7168
show variables like 'read_buffer_size' /* 9K */; show variables like 'read_buffer_size' /* 9K */;
Variable_name Value Variable_name Value
read_buffer_size 8228 read_buffer_size 8228
load data infile '/home/elkin/MySQL/TEAM/FIXES/5.0/bug33435-load_data_read_buffer_size/mysql-test/var/tmp/bug30435_5k.txt' into table t2; load data infile 'MYSQLTEST_VARDIR/tmp/bug30435_5k.txt' into table t2;
select count(*) from t2 /* 5 000 */; select count(*) from t2 /* 5 000 */;
count(*) count(*)
5000 5000
...@@ -23,7 +23,7 @@ master-bin.000002 7412 Append_block 1 # ;file_id=1;block_len=7168 ...@@ -23,7 +23,7 @@ master-bin.000002 7412 Append_block 1 # ;file_id=1;block_len=7168
master-bin.000002 14603 Append_block 1 # ;file_id=1;block_len=2048 master-bin.000002 14603 Append_block 1 # ;file_id=1;block_len=2048
master-bin.000002 16674 Append_block 1 # ;file_id=1;block_len=7168 master-bin.000002 16674 Append_block 1 # ;file_id=1;block_len=7168
master-bin.000002 23865 Append_block 1 # ;file_id=1;block_len=341 master-bin.000002 23865 Append_block 1 # ;file_id=1;block_len=341
master-bin.000002 24229 Execute_load_query 1 # use `test`; load data infile '/home/elkin/MySQL/TEAM/FIXES/5.0/bug33435-load_data_read_buffer_size/mysql-test/var/tmp/bug30435_5k.txt' into table t2 ;file_id=1 master-bin.000002 24229 Execute_load_query 1 # use `test`; load data infile 'MYSQLTEST_VARDIR/tmp/bug30435_5k.txt' into table t2 ;file_id=1
select count(*) from t2 /* 5 000 */; select count(*) from t2 /* 5 000 */;
count(*) count(*)
5000 5000
......
...@@ -29,6 +29,7 @@ create table t2 (id int not null primary key auto_increment); ...@@ -29,6 +29,7 @@ create table t2 (id int not null primary key auto_increment);
show variables like 'max_allowed_packet' /* 8K */; show variables like 'max_allowed_packet' /* 8K */;
show variables like 'read_buffer_size' /* 9K */; show variables like 'read_buffer_size' /* 9K */;
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
eval load data infile '$MYSQLTEST_VARDIR/tmp/bug30435_5k.txt' into table t2; eval load data infile '$MYSQLTEST_VARDIR/tmp/bug30435_5k.txt' into table t2;
select count(*) from t2 /* 5 000 */; select count(*) from t2 /* 5 000 */;
...@@ -36,6 +37,7 @@ select count(*) from t2 /* 5 000 */; ...@@ -36,6 +37,7 @@ select count(*) from t2 /* 5 000 */;
--let $binlog_start=98 --let $binlog_start=98
--replace_column 5 # --replace_column 5 #
--replace_regex /\/\* xid=.* \*\//\/* XID *\// --replace_regex /\/\* xid=.* \*\//\/* XID *\//
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
--eval show binlog events in 'master-bin.000002' from $binlog_start --eval show binlog events in 'master-bin.000002' from $binlog_start
......
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