1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Fix an intermittent test failure

This commit is contained in:
Marko Mäkelä
2018-04-21 20:59:26 +03:00
parent ea94717983
commit 469a4b02ce
2 changed files with 4 additions and 0 deletions

View File

@ -47,6 +47,7 @@ SELECT ST_AsText(g) FROM t_wl6455 WHERE g = POINT(10,10);
ST_AsText(g) ST_AsText(g)
INSERT INTO t_wl6455 VALUES(10, POINT(10,10)); INSERT INTO t_wl6455 VALUES(10, POINT(10,10));
COMMIT; COMMIT;
FLUSH TABLES;
INSERT INTO t_wl6455 VALUES(11, POINT(11,11)); INSERT INTO t_wl6455 VALUES(11, POINT(11,11));
BEGIN; BEGIN;
INSERT INTO t_wl6455 VALUES(1, POINT(1,1)); INSERT INTO t_wl6455 VALUES(1, POINT(1,1));

View File

@ -62,6 +62,9 @@ SELECT ST_AsText(g) FROM t_wl6455 WHERE g = POINT(10,10);
INSERT INTO t_wl6455 VALUES(10, POINT(10,10)); INSERT INTO t_wl6455 VALUES(10, POINT(10,10));
COMMIT; COMMIT;
# Avoid corrupting non-crash-safe system tables on the kill below.
FLUSH TABLES;
INSERT INTO t_wl6455 VALUES(11, POINT(11,11)); INSERT INTO t_wl6455 VALUES(11, POINT(11,11));
BEGIN; BEGIN;
INSERT INTO t_wl6455 VALUES(1, POINT(1,1)); INSERT INTO t_wl6455 VALUES(1, POINT(1,1));