提交 596a4bdb authored 作者: Andrei Tokar's avatar Andrei Tokar

unlock meta in finally

上级 3411e93f
...@@ -322,11 +322,11 @@ public class Sequence extends SchemaObjectBase { ...@@ -322,11 +322,11 @@ public class Sequence extends SchemaObjectBase {
database.updateMeta(session, this); database.updateMeta(session, this);
} finally { } finally {
writeWithMargin = false; writeWithMargin = false;
}
if (!metaWasLocked) { if (!metaWasLocked) {
database.unlockMeta(session); database.unlockMeta(session);
} }
} }
}
/** /**
* Flush the current value to disk and close this object. * Flush the current value to disk and close this object.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论