MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / dsqlMatch

Method dsqlMatch

src/dsql/AggNodes.cpp:299–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299bool 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
313void AggNode::setParameterName(dsql_par* parameter) const
314{

Callers 1

PASS1_node_matchFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected