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

Function PAR_preparsed_node

src/jrd/par.cpp:203–214  ·  view source on GitHub ↗

Finish parse of memory nodes, returning a compiler scratch block with the results. Caller must do pool handling.

Source from the content-addressed store, hash-verified

201// Finish parse of memory nodes, returning a compiler scratch block with the results.
202// Caller must do pool handling.
203void PAR_preparsed_node(thread_db* tdbb, jrd_rel* relation, DmlNode* node,
204 CompilerScratch* view_csb, CompilerScratch** csb_ptr, Statement** statementPtr,
205 const bool trigger, USHORT flags)
206{
207 BlrParseWrapper csb(*tdbb->getDefaultPool(), relation, view_csb, csb_ptr, trigger, flags);
208
209 csb->blrVersion = 5; // blr_version5
210 csb->csb_node = node;
211
212 if (statementPtr)
213 *statementPtr = Statement::makeStatement(tdbb, csb, false);
214}
215
216
217// PAR_blr equivalent for validation expressions.

Callers 3

makeFunctionMethod · 0.85
makeProcedureMethod · 0.85
makeTriggerMethod · 0.85

Calls 1

getDefaultPoolMethod · 0.45

Tested by

no test coverage detected