Skip to content

Commit 469a4b0

Browse files
committed
Fix an intermittent test failure
1 parent ea94717 commit 469a4b0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

mysql-test/suite/innodb_gis/r/types.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ SELECT ST_AsText(g) FROM t_wl6455 WHERE g = POINT(10,10);
4747
ST_AsText(g)
4848
INSERT INTO t_wl6455 VALUES(10, POINT(10,10));
4949
COMMIT;
50+
FLUSH TABLES;
5051
INSERT INTO t_wl6455 VALUES(11, POINT(11,11));
5152
BEGIN;
5253
INSERT INTO t_wl6455 VALUES(1, POINT(1,1));

mysql-test/suite/innodb_gis/t/types.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ SELECT ST_AsText(g) FROM t_wl6455 WHERE g = POINT(10,10);
6262
INSERT INTO t_wl6455 VALUES(10, POINT(10,10));
6363
COMMIT;
6464

65+
# Avoid corrupting non-crash-safe system tables on the kill below.
66+
FLUSH TABLES;
67+
6568
INSERT INTO t_wl6455 VALUES(11, POINT(11,11));
6669
BEGIN;
6770
INSERT INTO t_wl6455 VALUES(1, POINT(1,1));

0 commit comments

Comments
 (0)