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

Method getImplicitJoinField

src/dsql/pass1.cpp:2999–3014  ·  view source on GitHub ↗

Returns false for hidden fields and true for non-hidden. For non-hidden, change "node" if the field is part of an implicit join.

Source from the content-addressed store, hash-verified

2997// For non-hidden, change "node" if the field is part of an
2998// implicit join.
2999bool dsql_ctx::getImplicitJoinField(const MetaName& name, NestConst<ValueExprNode>& node)
3000{
3001 ImplicitJoin* impJoin;
3002 if (ctx_imp_join.get(name, impJoin))
3003 {
3004 if (impJoin->visibleInContext == this)
3005 {
3006 node = impJoin->value;
3007 return true;
3008 }
3009
3010 return false;
3011 }
3012
3013 return true;
3014}
3015
3016// Returns (creating, if necessary) the WindowMap of a given partition (that may be NULL).
3017WindowMap* dsql_ctx::getWindowMap(DsqlCompilerScratch* dsqlScratch, WindowClause* windowNode)

Callers 2

internalDsqlPassMethod · 0.80
PASS1_expand_select_nodeFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected