提交 1fde6e15 authored 作者: Noel Grandin's avatar Noel Grandin

fix choice of database file suffix

上级 eee69fbb
...@@ -8,7 +8,6 @@ package org.h2.test.db; ...@@ -8,7 +8,6 @@ package org.h2.test.db;
import java.sql.Connection; import java.sql.Connection;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Statement; import java.sql.Statement;
import org.h2.engine.Constants; import org.h2.engine.Constants;
import org.h2.store.fs.FileUtils; import org.h2.store.fs.FileUtils;
import org.h2.test.TestBase; import org.h2.test.TestBase;
...@@ -45,7 +44,7 @@ public class TestSpaceReuse extends TestBase { ...@@ -45,7 +44,7 @@ public class TestSpaceReuse extends TestBase {
conn.createStatement().execute("delete from t"); conn.createStatement().execute("delete from t");
conn.close(); conn.close();
String fileName = getBaseDir() + "/spaceReuse"; String fileName = getBaseDir() + "/spaceReuse";
if (Constants.VERSION_MINOR >= 4) { if (config.mvStore) {
fileName += Constants.SUFFIX_MV_FILE; fileName += Constants.SUFFIX_MV_FILE;
} else { } else {
fileName += Constants.SUFFIX_PAGE_FILE; fileName += Constants.SUFFIX_PAGE_FILE;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论