summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <aelkin/elkin@koti.dsl.inet.fi>2007-12-23 11:18:46 +0200
committerunknown <aelkin/elkin@koti.dsl.inet.fi>2007-12-23 11:18:46 +0200
commit46bfdbcac002d3b5e4c7a5a78eaddc8da53c1eae (patch)
treeaf10cdb71a0d3dbd6286cd330cfd4f33cccfe224 /mysql-test/r
parentff84f4047e9f09eed4148c2a986a19b55248fc0c (diff)
downloadmariadb-git-46bfdbcac002d3b5e4c7a5a78eaddc8da53c1eae.tar.gz
bug#30435
changes due to non-determinism in value of read_buffer_size. mysql-test/r/rpl_loaddata_map.result: results changed mysql-test/t/rpl_loaddata_map.test: showing only the fact that the buffer size is larger than the packet size. mysql-test/std_data/bug30435_10k_items.txt: data for bug#30435 regression testing mysql-test/std_data/bug30435_5k.txt: data for bug#30435 regression testing
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/rpl_loaddata_map.result9
1 files changed, 3 insertions, 6 deletions
diff --git a/mysql-test/r/rpl_loaddata_map.result b/mysql-test/r/rpl_loaddata_map.result
index acec863fd20..9bb02f5db1b 100644
--- a/mysql-test/r/rpl_loaddata_map.result
+++ b/mysql-test/r/rpl_loaddata_map.result
@@ -5,12 +5,9 @@ reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
create table t2 (id int not null primary key auto_increment);
-show variables like 'max_allowed_packet' /* 8K */;
-Variable_name Value
-max_allowed_packet 7168
-show variables like 'read_buffer_size' /* 9K */;
-Variable_name Value
-read_buffer_size 8228
+select @@session.read_buffer_size - @@session.max_allowed_packet > 0 ;
+@@session.read_buffer_size - @@session.max_allowed_packet > 0
+1
load data infile 'MYSQLTEST_VARDIR/tmp/bug30435_5k.txt' into table t2;
select count(*) from t2 /* 5 000 */;
count(*)