Finish parse of memory nodes, returning a compiler scratch block with the results. Caller must do pool handling.
| 201 | // Finish parse of memory nodes, returning a compiler scratch block with the results. |
| 202 | // Caller must do pool handling. |
| 203 | void 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. |
no test coverage detected