diff --git a/src/test/java/org/mariadb/jdbc/integration/UpdateResultSetTest.java b/src/test/java/org/mariadb/jdbc/integration/UpdateResultSetTest.java index 1e64f5e0e..b6393f27a 100644 --- a/src/test/java/org/mariadb/jdbc/integration/UpdateResultSetTest.java +++ b/src/test/java/org/mariadb/jdbc/integration/UpdateResultSetTest.java @@ -920,6 +920,7 @@ private void cancelRowUpdatesTest(Connection con) throws SQLException { stmt.execute("DROP TABLE IF EXISTS cancelRowUpdatesTest"); stmt.execute("CREATE TABLE cancelRowUpdatesTest(c text, id int primary key)"); stmt.execute("INSERT INTO cancelRowUpdatesTest(id,c) values (1,'1'), (2,'2'),(3,'3'),(4,'4')"); + stmt.execute("FLUSH TABLES"); try (PreparedStatement preparedStatement = con.prepareStatement(