| 2370 | |
| 2371 | |
| 2372 | void 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 | |
| 2410 | void JEvents::deprecatedCancel(CheckStatusWrapper* user_status) |
nothing calls this directly
no test coverage detected