提交 06eff7dd authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting

上级 0cd0c6ca
......@@ -2302,7 +2302,7 @@ public class Parser {
read("BY");
agg.setGroupConcatOrder(parseSimpleOrderList());
}
if (readIf("SEPARATOR")) {
agg.setGroupConcatSeparator(readExpression());
}
......
......@@ -749,7 +749,7 @@ public class Select extends Query {
}
}
}
private int expandColumnList(TableFilter filter, int index) {
Table t = filter.getTable();
String alias = filter.getTableAlias();
......
......@@ -216,7 +216,7 @@ public class Database implements DataHandler {
readOnly = true;
}
if (dbSettings.mvStore && lockMethodName == null) {
if (autoServerMode) {
if (autoServerMode) {
fileLockMethod = FileLock.LOCK_FILE;
} else {
fileLockMethod = FileLock.LOCK_FS;
......@@ -614,8 +614,11 @@ public class Database implements DataHandler {
fileLockMethod == FileLock.LOCK_FS ||
!persistent) {
throw DbException.getUnsupportedException(
"autoServerMode && (readOnly || fileLockMethod == NO" +
" || fileLockMethod == SERIALIZED || fileLockMethod == FS || inMemory)");
"autoServerMode && (readOnly || " +
"fileLockMethod == NO || " +
"fileLockMethod == SERIALIZED || " +
"fileLockMethod == FS || " +
"inMemory)");
}
}
String lockFileName = databaseName + Constants.SUFFIX_LOCK_FILE;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论