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

Function GEN_stuff_context_number

src/dsql/gen.cpp:668–674  ·  view source on GitHub ↗

Write a context number into the BLR buffer. Check for possible overflow.

Source from the content-addressed store, hash-verified

666
667// Write a context number into the BLR buffer. Check for possible overflow.
668void GEN_stuff_context_number(DsqlCompilerScratch* dsqlScratch, USHORT contextNumber)
669{
670 if (contextNumber > MAX_UCHAR)
671 ERRD_post(Arg::Gds(isc_too_many_contexts));
672
673 dsqlScratch->appendUChar(contextNumber);
674}

Callers 3

genBlrMethod · 0.85
dsqlGenReturningFunction · 0.85

Calls 3

ERRD_postFunction · 0.85
GdsClass · 0.85
appendUCharMethod · 0.80

Tested by

no test coverage detected