提交 88ee9dae 编写于 作者: Z zyyang

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

上级 d26a7ca3
...@@ -33,8 +33,7 @@ public class ResetQueryCacheTest { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册