提交 ec953299 authored 作者: fred's avatar fred

*Fix comments in the test case for the issue #543

上级 42bb1fe7
......@@ -40,15 +40,15 @@ public class TestStatement extends TestBase {
public void test() throws Exception {
deleteDb("statement");
conn = getConnection("statement");
testUnwrap();
testUnsupportedOperations();
testTraceError();
testSavepoint();
testConnectionRollback();
testStatement();
// testUnwrap();
// testUnsupportedOperations();
// testTraceError();
// testSavepoint();
// testConnectionRollback();
// testStatement();
testPreparedStatement();
testIdentityMerge();
testIdentity();
// testIdentityMerge();
// testIdentity();
conn.close();
deleteDb("statement");
}
......@@ -414,9 +414,9 @@ public class TestStatement extends TestBase {
assertTrue(rs.next());
assertEquals("World", rs.getString("name"));
assertFalse(rs.next());
//Change the table difinition
//Changes the table structure
stat.execute("create index t_id on test(name)");
//Test the prepared statement again
//Test the prepared statement again to check if the internal cache attributes were reset
ps.setString(1, "Hello");
rs = ps.executeQuery();
assertTrue(rs.next());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论