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

Method addField

src/common/MsgMetadata.cpp:260–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260unsigned MetadataBuilder::addField(CheckStatusWrapper* status)
261{
262 try
263 {
264 MutexLockGuard g(mtx, FB_FUNCTION);
265
266 metadataError("addField");
267
268 msgMetadata->items.add();
269 return msgMetadata->items.getCount() - 1;
270 }
271 catch (const Exception& ex)
272 {
273 ex.stuffException(status);
274 return ~0;
275 }
276}
277
278IMessageMetadata* MetadataBuilder::getMetadata(CheckStatusWrapper* status)
279{

Callers 1

addFunction · 0.45

Calls 3

addMethod · 0.45
getCountMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected