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

Function successful_completion

src/jrd/jrd.cpp:1415–1429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1413
1414
1415static void successful_completion(CheckStatusWrapper* s, ISC_STATUS acceptCode = 0)
1416{
1417 fb_assert(s);
1418
1419 const ISC_STATUS* status = s->getErrors();
1420
1421 // This assert validates whether we really have a successful status vector
1422 fb_assert(status[0] != isc_arg_gds || status[1] == FB_SUCCESS || status[1] == acceptCode);
1423
1424 // Clear the status vector if it doesn't contain a warning
1425 if (status[0] != isc_arg_gds || status[1] != FB_SUCCESS || !(s->getState() & IStatus::STATE_WARNINGS))
1426 {
1427 s->init();
1428 }
1429}
1430
1431
1432// Stuff exception transliterated to the client charset.

Callers 15

getInfoMethod · 0.85
freeEngineDataMethod · 0.85
cancelOperationMethod · 0.85
internalCloseMethod · 0.85
internalCommitMethod · 0.85
commitRetainingMethod · 0.85
compileRequestMethod · 0.85
createBlobMethod · 0.85
internalDropDatabaseMethod · 0.85
getSegmentMethod · 0.85
getSliceMethod · 0.85
openBlobMethod · 0.85

Calls 3

getErrorsMethod · 0.45
getStateMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected