bug#30435
changes due to non-determinism in value of read_buffer_size.
This commit is contained in:
parent
d8100934a5
commit
c5b597bc89
@ -5,12 +5,9 @@ reset slave;
|
|||||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||||
start slave;
|
start slave;
|
||||||
create table t2 (id int not null primary key auto_increment);
|
create table t2 (id int not null primary key auto_increment);
|
||||||
show variables like 'max_allowed_packet' /* 8K */;
|
select @@session.read_buffer_size - @@session.max_allowed_packet > 0 ;
|
||||||
Variable_name Value
|
@@session.read_buffer_size - @@session.max_allowed_packet > 0
|
||||||
max_allowed_packet 7168
|
1
|
||||||
show variables like 'read_buffer_size' /* 9K */;
|
|
||||||
Variable_name Value
|
|
||||||
read_buffer_size 8228
|
|
||||||
load data infile 'MYSQLTEST_VARDIR/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(*)
|
||||||
|
10000
mysql-test/std_data/bug30435_10k_items.txt
Normal file
10000
mysql-test/std_data/bug30435_10k_items.txt
Normal file
File diff suppressed because it is too large
Load Diff
5000
mysql-test/std_data/bug30435_5k.txt
Normal file
5000
mysql-test/std_data/bug30435_5k.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -26,8 +26,7 @@ flush logs;
|
|||||||
connection master;
|
connection master;
|
||||||
create table t2 (id int not null primary key auto_increment);
|
create table t2 (id int not null primary key auto_increment);
|
||||||
|
|
||||||
show variables like 'max_allowed_packet' /* 8K */;
|
select @@session.read_buffer_size - @@session.max_allowed_packet > 0 ;
|
||||||
show variables like 'read_buffer_size' /* 9K */;
|
|
||||||
|
|
||||||
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR
|
--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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user