提交 cccda506 authored 作者: noelgrandin's avatar noelgrandin

capitalise comment, makes it easier to read.

上级 4c16908c
......@@ -151,11 +151,11 @@ public class ResultTempTable implements ResultExternal {
synchronized (database) {
if (!database.isSysTableLocked()) {
Session sysSession = database.getSystemSession();
// 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.
// if the table is not removed now, it will be when the database
// is opened the next time
// If the table is not removed now, it will be when the database
// is opened the next time.
// (the table is truncated, so this is just one record)
synchronized (sysSession) {
index.removeChildrenAndResources(sysSession);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论