| 2307 | |
| 2308 | |
| 2309 | void JBlob::getInfo(CheckStatusWrapper* user_status, |
| 2310 | unsigned int itemsLength, const unsigned char* items, |
| 2311 | unsigned int bufferLength, unsigned char* buffer) |
| 2312 | { |
| 2313 | /************************************** |
| 2314 | * |
| 2315 | * g d s _ $ b l o b _ i n f o |
| 2316 | * |
| 2317 | ************************************** |
| 2318 | * |
| 2319 | * Functional description |
| 2320 | * Provide information on blob object. |
| 2321 | * |
| 2322 | **************************************/ |
| 2323 | try |
| 2324 | { |
| 2325 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 2326 | check_database(tdbb); |
| 2327 | |
| 2328 | try |
| 2329 | { |
| 2330 | INF_blob_info(getHandle(), itemsLength, items, bufferLength, buffer); |
| 2331 | } |
| 2332 | catch (const Exception& ex) |
| 2333 | { |
| 2334 | transliterateException(tdbb, ex, user_status, "JBlob::getInfo"); |
| 2335 | return; |
| 2336 | } |
| 2337 | } |
| 2338 | catch (const Exception& ex) |
| 2339 | { |
| 2340 | ex.stuffException(user_status); |
| 2341 | return; |
| 2342 | } |
| 2343 | |
| 2344 | successful_completion(user_status); |
| 2345 | } |
| 2346 | |
| 2347 | |
| 2348 | void JBlob::deprecatedCancel(CheckStatusWrapper* user_status) |
no test coverage detected