提交 19dded26 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting.

上级 a73b01fb
...@@ -15,7 +15,6 @@ import org.h2.index.Cursor; ...@@ -15,7 +15,6 @@ import org.h2.index.Cursor;
import org.h2.index.Index; import org.h2.index.Index;
import org.h2.index.IndexType; import org.h2.index.IndexType;
import org.h2.index.PageBtreeIndex; import org.h2.index.PageBtreeIndex;
import org.h2.message.DbException;
import org.h2.schema.Schema; import org.h2.schema.Schema;
import org.h2.table.Column; import org.h2.table.Column;
import org.h2.table.IndexColumn; import org.h2.table.IndexColumn;
...@@ -156,7 +155,7 @@ public class ResultTempTable implements ResultExternal { ...@@ -156,7 +155,7 @@ public class ResultTempTable implements ResultExternal {
Database database = session.getDatabase(); Database database = session.getDatabase();
// Need to lock because not all of the code-paths that reach here have already taken this lock, // Need to lock because not all of the code-paths that reach here have already taken this lock,
// notably via the close() paths. // notably via the close() paths.
synchronized(session) { synchronized (session) {
synchronized (database) { synchronized (database) {
table.truncate(session); table.truncate(session);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论