| 297 | } |
| 298 | |
| 299 | bool AggNode::dsqlMatch(DsqlCompilerScratch* dsqlScratch, const ExprNode* other, bool ignoreMapCast) const |
| 300 | { |
| 301 | if (!ExprNode::dsqlMatch(dsqlScratch, other, ignoreMapCast)) |
| 302 | return false; |
| 303 | |
| 304 | const AggNode* o = nodeAs<AggNode>(other); |
| 305 | fb_assert(o); |
| 306 | |
| 307 | // ASF: We compare name address. That should be ok, as we have only one AggInfo instance |
| 308 | // per function. |
| 309 | return aggInfo.blr == o->aggInfo.blr && aggInfo.name == o->aggInfo.name && |
| 310 | distinct == o->distinct && dialect1 == o->dialect1; |
| 311 | } |
| 312 | |
| 313 | void AggNode::setParameterName(dsql_par* parameter) const |
| 314 | { |