提交 251063bc authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation / formatting

上级 3b75267b
......@@ -106,7 +106,7 @@ public class TestCases extends TestBase {
testBinaryCollation();
deleteDb("cases");
}
private void testAutoCommitInDatabaseURL() throws SQLException {
Connection conn = getConnection("cases;autocommit=false");
assertFalse(conn.getAutoCommit());
......
......@@ -112,7 +112,7 @@ public class TestLob extends TestBase {
deleteDb("lob");
FileUtils.deleteRecursive(TEMP_DIR, true);
}
private void testCloseLobTwice() throws SQLException {
deleteDb("lob");
Connection conn = getConnection("lob");
......
......@@ -42,7 +42,7 @@ public class TestMvcc3 extends TestBase {
testRollback();
deleteDb("mvcc3");
}
private void testFailedUpdate() throws SQLException {
deleteDb("mvcc3");
Connection conn = getConnection("mvcc3");
......@@ -51,7 +51,8 @@ public class TestMvcc3 extends TestBase {
stat.execute("create table test(id int primary key, a int unique, b int)");
stat.execute("insert into test values(1, 1, 1)");
stat.execute("insert into test values(2, 2, 2)");
assertThrows(ErrorCode.DUPLICATE_KEY_1, stat).execute("update test set a = 1 where id = 2");
assertThrows(ErrorCode.DUPLICATE_KEY_1, stat).
execute("update test set a = 1 where id = 2");
ResultSet rs;
rs = stat.executeQuery("select * from test where id = 2");
assertTrue(rs.next());
......
......@@ -755,4 +755,4 @@ predicted prediction wojtek hops jurczyk cbtree predict vast assumption upside
adjusted lastly sgtatham cleaning gillet prevented
angus bernd chatellier macdonald eckenfels granting moreover exponential transferring
dedup megabyte breadth traversal affine tucc jentsch yyyymmdd vertica graf
mutate
mutate shard shards
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论