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

Function processSource

src/jrd/RecordSourceNodes.cpp:3849–3860  ·  view source on GitHub ↗

Process a single record source stream from an RseNode. Obviously, if the source is a view, there is more work to do.

Source from the content-addressed store, hash-verified

3847// Process a single record source stream from an RseNode.
3848// Obviously, if the source is a view, there is more work to do.
3849static void processSource(thread_db* tdbb, CompilerScratch* csb, RseNode* rse,
3850 RecordSourceNode* source, BoolExprNode** boolean, RecordSourceNodeStack& stack)
3851{
3852 SET_TDBB(tdbb);
3853
3854 Database* dbb = tdbb->getDatabase();
3855 CHECK_DBB(dbb);
3856
3857 AutoSetRestore<bool> autoValidateExpr(&csb->csb_validate_expr, false);
3858
3859 source->pass1Source(tdbb, csb, rse, boolean, stack);
3860}
3861
3862// Translate a map block into a format. If the format is missing or incomplete, extend it.
3863static void processMap(thread_db* tdbb, CompilerScratch* csb, MapNode* map, Format** inputFormat)

Callers 2

pass1SourceMethod · 0.85
pass1Method · 0.85

Calls 4

SET_TDBBFunction · 0.85
CHECK_DBBFunction · 0.85
getDatabaseMethod · 0.80
pass1SourceMethod · 0.45

Tested by

no test coverage detected