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

Function dsqlGenEofAssignment

src/dsql/StmtNodes.cpp:9866–9874  ·  view source on GitHub ↗

Generate assignment to EOF parameter.

Source from the content-addressed store, hash-verified

9864
9865// Generate assignment to EOF parameter.
9866static void dsqlGenEofAssignment(DsqlCompilerScratch* dsqlScratch, SSHORT value)
9867{
9868 dsc valueDesc;
9869 valueDesc.makeShort(0, &value);
9870
9871 dsqlScratch->appendUChar(blr_assignment);
9872 LiteralNode::genConstant(dsqlScratch, &valueDesc, false);
9873 GEN_parameter(dsqlScratch, dsqlScratch->getDsqlStatement()->getEof());
9874}
9875
9876static void dsqlGenReturning(DsqlCompilerScratch* dsqlScratch, ReturningClause* returning,
9877 Nullable<USHORT> localTableNumber)

Callers 1

Calls 5

GEN_parameterFunction · 0.85
makeShortMethod · 0.80
appendUCharMethod · 0.80
getEofMethod · 0.80
getDsqlStatementMethod · 0.45

Tested by

no test coverage detected