示例#1
0
 @Override
 public void databases(final LockResult lr) {
   if (qp == null) {
     lr.writeAll = true;
   } else {
     qp.databases(lr);
     info.readLocked = lr.readAll ? null : lr.read;
     info.writeLocked = lr.writeAll ? null : lr.write;
   }
 }
示例#2
0
文件: List.java 项目: JohnLeM/basex
 @Override
 public void databases(final LockResult lr) {
   lr.readAll = true;
 }