mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
fix test for bug#25721
did not run properly on a fast Windows machine
This commit is contained in:
parent
d551902b8f
commit
6575e2d296
2 changed files with 6 additions and 2 deletions
|
@ -259,8 +259,10 @@ create procedure p1 ()
|
||||||
begin
|
begin
|
||||||
DECLARE v INT DEFAULT 0;
|
DECLARE v INT DEFAULT 0;
|
||||||
DECLARE e INT DEFAULT 0;
|
DECLARE e INT DEFAULT 0;
|
||||||
|
DECLARE i INT;
|
||||||
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET e = e + 1;
|
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET e = e + 1;
|
||||||
WHILE v < 10000 do
|
SET i = sleep(5);
|
||||||
|
WHILE v < 20000 do
|
||||||
CREATE SERVER s
|
CREATE SERVER s
|
||||||
FOREIGN DATA WRAPPER mysql
|
FOREIGN DATA WRAPPER mysql
|
||||||
OPTIONS (USER 'Remote', HOST '192.168.1.106', DATABASE 'test');
|
OPTIONS (USER 'Remote', HOST '192.168.1.106', DATABASE 'test');
|
||||||
|
|
|
@ -296,8 +296,10 @@ create procedure p1 ()
|
||||||
begin
|
begin
|
||||||
DECLARE v INT DEFAULT 0;
|
DECLARE v INT DEFAULT 0;
|
||||||
DECLARE e INT DEFAULT 0;
|
DECLARE e INT DEFAULT 0;
|
||||||
|
DECLARE i INT;
|
||||||
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET e = e + 1;
|
DECLARE CONTINUE HANDLER FOR SQLEXCEPTION SET e = e + 1;
|
||||||
WHILE v < 10000 do
|
SET i = sleep(5);
|
||||||
|
WHILE v < 20000 do
|
||||||
CREATE SERVER s
|
CREATE SERVER s
|
||||||
FOREIGN DATA WRAPPER mysql
|
FOREIGN DATA WRAPPER mysql
|
||||||
OPTIONS (USER 'Remote', HOST '192.168.1.106', DATABASE 'test');
|
OPTIONS (USER 'Remote', HOST '192.168.1.106', DATABASE 'test');
|
||||||
|
|
Loading…
Reference in a new issue