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

Method getAndParse

src/common/StatementMetadata.cpp:415–424  ·  view source on GitHub ↗

Get a info buffer and parse it.

Source from the content-addressed store, hash-verified

413
414// Get a info buffer and parse it.
415void StatementMetadata::getAndParse(unsigned itemsLength, const UCHAR* items,
416 unsigned bufferLength, UCHAR* buffer)
417{
418 LocalStatus ls;
419 CheckStatusWrapper status(&ls);
420 statement->getInfo(&status, itemsLength, items, bufferLength, buffer);
421 ls.check();
422
423 parse(bufferLength, buffer);
424}
425
426// Fill an output buffer from the cached data. Return true if succeeded.
427bool StatementMetadata::fillFromCache(unsigned itemsLength, const UCHAR* items,

Callers

nothing calls this directly

Calls 2

getInfoMethod · 0.45
checkMethod · 0.45

Tested by

no test coverage detected