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

Method findCTE

src/dsql/DsqlCompilerScratch.cpp:626–637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

624}
625
626SelectExprNode* DsqlCompilerScratch::findCTE(const MetaName& name)
627{
628 for (FB_SIZE_T i = 0; i < ctes.getCount(); ++i)
629 {
630 SelectExprNode* cte = ctes[i];
631
632 if (cte->alias == name.c_str())
633 return cte;
634 }
635
636 return NULL;
637}
638
639void DsqlCompilerScratch::clearCTEs()
640{

Callers 2

PASS1_make_contextFunction · 0.80
dsqlPassRelProcFunction · 0.80

Calls 2

getCountMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected