[TD-5388]<test>: modified test case, use execute for reset query cache statement

This commit is contained in:
zyyang 2021-07-20 15:53:03 +08:00
parent d26a7ca3ba
commit 88ee9daee3
1 changed files with 1 additions and 2 deletions

View File

@ -33,8 +33,7 @@ public class ResetQueryCacheTest {
@Test @Test
public void testResetQueryCache() throws SQLException { public void testResetQueryCache() throws SQLException {
String resetSql = "reset query cache"; String resetSql = "reset query cache";
ResultSet rs = statement.executeQuery(resetSql); statement.execute(resetSql);
rs.close();
} }
@After @After