Write a context number into the BLR buffer. Check for possible overflow.
| 666 | |
| 667 | // Write a context number into the BLR buffer. Check for possible overflow. |
| 668 | void 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 | } |
no test coverage detected