提交 45e2c008 authored 作者: noelgrandin's avatar noelgrandin

capitalise comment, makes it easier to read.

上级 cccda506
......@@ -113,8 +113,8 @@ public class Sequence extends SchemaObjectBase {
*/
public synchronized void flush(Session session) {
if (session == null || !database.isSysTableLocked()) {
// this session may not lock the sys table (except if it already has locked it)
// because it must be committed immediately
// This session may not lock the sys table (except if it already has locked it)
// because it must be committed immediately,
// otherwise other threads can not access the sys table.
Session sysSession = database.getSystemSession();
synchronized (sysSession) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论