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

Function augmentStack

src/jrd/optimizer/Optimizer.cpp:370–380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368
369
370 bool augmentStack(ValueExprNode* node, ValueExprNodeStack& stack)
371 {
372 for (ValueExprNodeStack::const_iterator temp(stack); temp.hasData(); ++temp)
373 {
374 if (fieldEqual(node, temp.object()))
375 return false;
376 }
377
378 stack.push(node);
379 return true;
380 }
381
382 bool augmentStack(BoolExprNode* node, BoolExprNodeStack& stack)
383 {

Callers 1

distributeEqualitiesMethod · 0.85

Calls 4

fieldEqualFunction · 0.85
hasDataMethod · 0.45
objectMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected