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

Method freeEngineData

src/jrd/jrd.cpp:2372–2407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2370
2371
2372void JBlob::freeEngineData(CheckStatusWrapper* user_status)
2373{
2374/**************************************
2375 *
2376 * g d s _ $ c a n c e l _ b l o b
2377 *
2378 **************************************
2379 *
2380 * Functional description
2381 * Abort a partially completed blob.
2382 *
2383 **************************************/
2384 try
2385 {
2386 EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
2387 check_database(tdbb);
2388
2389 try
2390 {
2391 getHandle()->BLB_cancel(tdbb);
2392 blob = NULL;
2393 }
2394 catch (const Exception& ex)
2395 {
2396 transliterateException(tdbb, ex, user_status, "JBlob::freeEngineData");
2397 return;
2398 }
2399 }
2400 catch (const Exception& ex)
2401 {
2402 ex.stuffException(user_status);
2403 return;
2404 }
2405
2406 successful_completion(user_status);
2407}
2408
2409
2410void JEvents::deprecatedCancel(CheckStatusWrapper* user_status)

Callers

nothing calls this directly

Calls 15

check_databaseFunction · 0.85
transliterateExceptionFunction · 0.85
successful_completionFunction · 0.85
raiseFunction · 0.85
GdsClass · 0.85
purge_attachmentFunction · 0.85
validateHandleFunction · 0.85
DSQL_free_statementFunction · 0.85
TRA_release_transactionFunction · 0.85
TRA_rollbackFunction · 0.85
BLB_cancelMethod · 0.80
getDatabaseMethod · 0.80

Tested by

no test coverage detected