提交 449880ff authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation.

上级 5b811571
......@@ -18,7 +18,9 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>Issue 387: WHERE condition getting pushed into sub-query with LIMIT.
<ul><li>ConvertTraceFile: the time in the trace file is now parsed as a long.
</li><li>Invalid connection settings are now detected.
</li><li>Issue 387: WHERE condition getting pushed into sub-query with LIMIT.
</li></ul>
<h2>Version 1.3.165 (2012-03-18)</h2>
......
......@@ -157,11 +157,10 @@ public class Set extends Prepared {
}
case SetTypes.DB_CLOSE_DELAY: {
int x = getIntValue();
if (!session.getDatabase().isPersistent() && x == -1) {
if (x == -1) {
// -1 is a special value for in-memory databases,
// which means "keep the DB alive and use the same DB for all connections"
}
else if (x < 0) {
} else if (x < 0) {
throw DbException.getInvalidValueException("DB_CLOSE_DELAY", x);
}
session.getUser().checkAdmin();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论