提交 2d6e9237 authored 作者: Thomas Mueller's avatar Thomas Mueller

More (strict) tests; the MVStore does not benefit from disabling the transaction log

上级 8c51fa44
......@@ -160,6 +160,8 @@ public class TestFullText extends TestBase {
conn = getConnection("fullTextNative", connList);
stat = conn.createStatement();
conn.setAutoCommit(false);
rs = stat.executeQuery("SELECT * FROM FT_SEARCH_DATA('Welcome', 0, 0)");
assertTrue(rs.next());
stat.execute("delete from test");
rs = stat.executeQuery("SELECT * FROM FT_SEARCH_DATA('Welcome', 0, 0)");
assertFalse(rs.next());
......
......@@ -131,14 +131,10 @@ public class TestOpenClose extends TestBase implements DatabaseEventListener {
+ "'", true);
Connection conn = DriverManager.getConnection(url, user, password);
Statement stat = conn.createStatement();
try {
stat.execute("CREATE TABLE TEST(ID IDENTITY, NAME VARCHAR)");
stat.execute("SET MAX_MEMORY_UNDO 100000");
stat.execute("CREATE INDEX IDXNAME ON TEST(NAME)");
stat.execute("INSERT INTO TEST SELECT X, X || ' Data' FROM SYSTEM_RANGE(1, 1000)");
} catch (SQLException e) {
// ok
}
stat.close();
conn.close();
conn = DriverManager.getConnection(url, user, password);
......@@ -223,6 +219,8 @@ public class TestOpenClose extends TestBase implements DatabaseEventListener {
throw new AssertionError("unexpected: " + stateName);
}
break;
case STATE_STATEMENT_START:
break;
case STATE_CREATE_INDEX:
stateName = "Create Index " + name + " " + current + "/" + max;
if (!"SYS:SYS_ID".equals(name)) {
......
......@@ -109,6 +109,9 @@ public class TestTransaction extends TestBase {
if (config.memory) {
return;
}
if (config.mvStore) {
return;
}
deleteDb("transaction");
testLogMode(0);
testLogMode(1);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论