提交 a0c64d29 authored 作者: andrei's avatar andrei

Issue#556

上级 1a04f20c
...@@ -204,13 +204,16 @@ public class TestSynonymForTable extends TestBase { ...@@ -204,13 +204,16 @@ public class TestSynonymForTable extends TestBase {
* Make sure, that the schema changes are persisted when reopening the database * Make sure, that the schema changes are persisted when reopening the database
*/ */
private void testReopenDatabase() throws SQLException { private void testReopenDatabase() throws SQLException {
Connection conn = getConnection("synonym"); if(!config.memory) {
createTableWithSynonym(conn); deleteDb("synonym");
insertIntoBackingTable(conn, 9); Connection conn = getConnection("synonym");
conn.close(); createTableWithSynonym(conn);
Connection conn2 = getConnection("synonym"); insertIntoBackingTable(conn, 9);
assertSynonymContains(conn2, 9); conn.close();
conn2.close(); Connection conn2 = getConnection("synonym");
assertSynonymContains(conn2, 9);
conn2.close();
}
} }
private void testTruncateSynonym() throws SQLException { private void testTruncateSynonym() throws SQLException {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论