提交 cbf2f3ff authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Use Prepared.getSession() instead of synthetic accessor methods

上级 3efb1b28
......@@ -1483,7 +1483,7 @@ public class Select extends Query {
Value[] row = new Value[columnCount];
for (int i = 0; i < columnCount; i++) {
Expression expr = expressions.get(i);
row[i] = expr.getValue(session);
row[i] = expr.getValue(getSession());
}
return row;
}
......@@ -1521,7 +1521,7 @@ public class Select extends Query {
for (int i = 0; i < groupIndex.length; i++) {
int idx = groupIndex[i];
Expression expr = expressions.get(idx);
keyValues[i] = expr.getValue(session);
keyValues[i] = expr.getValue(getSession());
}
Value[] row = null;
......@@ -1538,7 +1538,7 @@ public class Select extends Query {
for (int i = 0; i < columnCount; i++) {
if (groupByExpression == null || !groupByExpression[i]) {
Expression expr = expressions.get(i);
expr.updateAggregate(session);
expr.updateAggregate(getSession());
}
}
if (row != null) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论