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

Method compile

src/jrd/RecordSourceNodes.cpp:732–742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732RecordSource* LocalTableSourceNode::compile(thread_db* tdbb, Optimizer* opt, bool /*innerSubStream*/)
733{
734 const auto csb = opt->getCompilerScratch();
735
736 if (tableNumber >= csb->csb_localTables.getCount() || !csb->csb_localTables[tableNumber])
737 ERR_post(Arg::Gds(isc_bad_loctab_num) << Arg::Num(tableNumber));
738
739 auto localTable = csb->csb_localTables[tableNumber];
740
741 return FB_NEW_POOL(*tdbb->getDefaultPool()) LocalTableStream(csb, stream, localTable);
742}
743
744
745//--------------------

Callers

nothing calls this directly

Calls 15

GdsClass · 0.85
NumClass · 0.85
LocalTableStreamClass · 0.85
genDeliverUnmappedFunction · 0.85
AggregatedStreamClass · 0.85
RecursiveStreamClass · 0.85
UnionClass · 0.85
WindowedStreamClass · 0.85
getCompilerScratchMethod · 0.80
compileRelationMethod · 0.80
makeAliasMethod · 0.80
getConjunctsMethod · 0.80

Tested by

no test coverage detected