提交 6b4ced6d authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 414: for some functions, the parameters were evaluated twice (for example…

Issue 414: for some functions, the parameters were evaluated twice (for example "char(nextval(..))" ran "nextval(..)" twice).
上级 45394387
......@@ -920,7 +920,7 @@ public class Function extends Expression implements FunctionCall {
}
private static Value getNullOrValue(Session session, Expression[] args, Value[] values, int i) {
if (i < values.length) {
if (i >= args.length) {
return null;
}
Value v = values[i];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论