1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixing rpl_temporary.test for FreeBSD/Linux thread-order (it add 4 sec. sleep)

This commit is contained in:
vva@eagle.mysql.r18.ru
2002-12-30 21:42:02 +04:00
parent f43ebb83db
commit 8797bb2551
2 changed files with 7 additions and 2 deletions

View File

@ -31,8 +31,8 @@ master-bin.000001 290 Query 1 290 use `test`; create temporary table t3(f int)
master-bin.000001 357 Query 1 357 use `test`; insert into t3 select * from t1 where f<6 master-bin.000001 357 Query 1 357 use `test`; insert into t3 select * from t1 where f<6
master-bin.000001 433 Query 1 433 use `test`; create temporary table t3(f int) master-bin.000001 433 Query 1 433 use `test`; create temporary table t3(f int)
master-bin.000001 500 Query 1 500 use `test`; insert into t2 select count(*) from t3 master-bin.000001 500 Query 1 500 use `test`; insert into t2 select count(*) from t3
master-bin.000001 573 Query 1 573 use `test`; drop temporary table t3 master-bin.000001 573 Query 1 573 use `test`; insert into t3 select * from t1 where f>=4
master-bin.000001 631 Query 1 631 use `test`; insert into t3 select * from t1 where f>=4 master-bin.000001 650 Query 1 650 use `test`; drop temporary table t3
master-bin.000001 708 Query 1 708 use `test`; insert into t2 select count(*) from t3 master-bin.000001 708 Query 1 708 use `test`; insert into t2 select count(*) from t3
master-bin.000001 781 Query 1 781 use `test`; drop temporary table t3 master-bin.000001 781 Query 1 781 use `test`; drop temporary table t3
drop table if exists t1; drop table if exists t1;

View File

@ -12,18 +12,23 @@ insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
connection con1; connection con1;
create temporary table t3(f int); create temporary table t3(f int);
insert into t3 select * from t1 where f<6; insert into t3 select * from t1 where f<6;
sleep 1;
connection con2; connection con2;
create temporary table t3(f int); create temporary table t3(f int);
sleep 1;
connection con1; connection con1;
insert into t2 select count(*) from t3; insert into t2 select count(*) from t3;
sleep 1;
connection con2; connection con2;
insert into t3 select * from t1 where f>=4; insert into t3 select * from t1 where f>=4;
sleep 1;
connection con1; connection con1;
drop temporary table t3; drop temporary table t3;
sleep 1;
connection con2; connection con2;
insert into t2 select count(*) from t3; insert into t2 select count(*) from t3;