mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
Removed timeout tests
This commit is contained in:
parent
d590b04708
commit
149b70dc57
2 changed files with 0 additions and 65 deletions
|
@ -192,26 +192,6 @@ count(*)
|
|||
select count(*) from t4;
|
||||
count(*)
|
||||
0
|
||||
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||
select count(*) from t2;
|
||||
count(*)
|
||||
0
|
||||
select count(*) from t3;
|
||||
count(*)
|
||||
0
|
||||
select count(*) from t4;
|
||||
count(*)
|
||||
0
|
||||
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||
select count(*) from t2;
|
||||
count(*)
|
||||
0
|
||||
select count(*) from t3;
|
||||
count(*)
|
||||
0
|
||||
select count(*) from t4;
|
||||
count(*)
|
||||
0
|
||||
select count(*) from t2;
|
||||
count(*)
|
||||
100
|
||||
|
|
|
@ -180,51 +180,6 @@ select count(*) from t2;
|
|||
select count(*) from t3;
|
||||
select count(*) from t4;
|
||||
|
||||
#
|
||||
# insert records into tables and commit after timeout;
|
||||
#
|
||||
let $1=100;
|
||||
disable_query_log;
|
||||
begin;
|
||||
while ($1)
|
||||
{
|
||||
eval insert into t2 values($1, $1+9, 5);
|
||||
eval insert into t3 values($1, $1+9, 5);
|
||||
eval insert into t4 values($1, $1+9, 5, $1+26000);
|
||||
dec $1;
|
||||
}
|
||||
sleep 15;
|
||||
-- error 1205
|
||||
commit;
|
||||
enable_query_log;
|
||||
|
||||
select count(*) from t2;
|
||||
select count(*) from t3;
|
||||
select count(*) from t4;
|
||||
|
||||
#
|
||||
# insert records into tables and timeout before last operation
|
||||
#
|
||||
let $1=100;
|
||||
disable_query_log;
|
||||
begin;
|
||||
while ($1)
|
||||
{
|
||||
eval insert into t2 values($1, $1+9, 5);
|
||||
eval insert into t3 values($1, $1+9, 5);
|
||||
eval insert into t4 values($1, $1+9, 5, $1+26000);
|
||||
dec $1;
|
||||
}
|
||||
sleep 15;
|
||||
-- error 1205
|
||||
insert into t2 values(10000, 10000, 36000);
|
||||
commit;
|
||||
enable_query_log;
|
||||
|
||||
select count(*) from t2;
|
||||
select count(*) from t3;
|
||||
select count(*) from t4;
|
||||
|
||||
#
|
||||
# insert records into tables and commit;
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue