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

Function getNumericInfo

src/common/StatementMetadata.cpp:510–516  ·  view source on GitHub ↗

Pick up a VAX format numeric info item with a 2 byte length.

Source from the content-addressed store, hash-verified

508
509// Pick up a VAX format numeric info item with a 2 byte length.
510static int getNumericInfo(const UCHAR** ptr, const UCHAR* bufferEnd)
511{
512 const USHORT len = getLen(ptr, bufferEnd);
513 int item = gds__vax_integer(*ptr, len);
514 *ptr += len;
515 return item;
516}
517
518// Pick up a string valued info item.
519static void getStringInfo(const UCHAR** ptr, const UCHAR* bufferEnd, string* str)

Callers 1

parseMethod · 0.85

Calls 1

getLenFunction · 0.85

Tested by

no test coverage detected