提交 bc78d7a3 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Do not use autoCommitDisabled() in temporary storage

上级 4ad8553c
......@@ -114,7 +114,7 @@ public abstract class MVTempResult implements ResultExternal {
MVTempResult(Session session) {
try {
fileName = FileUtils.createTempFile("h2tmp", Constants.SUFFIX_TEMP_FILE, false, true);
Builder builder = new MVStore.Builder().autoCommitDisabled().fileName(fileName);
Builder builder = new MVStore.Builder().fileName(fileName);
byte[] key = session.getDatabase().getFileEncryptionKey();
if (key != null) {
builder.encryptionKey(MVTableEngine.decodePassword(key));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论