| 5348 | } |
| 5349 | |
| 5350 | int JResultSet::fetchPrior(CheckStatusWrapper* user_status, void* buffer) |
| 5351 | { |
| 5352 | try |
| 5353 | { |
| 5354 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 5355 | check_database(tdbb); |
| 5356 | |
| 5357 | try |
| 5358 | { |
| 5359 | state = cursor->fetchPrior(tdbb, static_cast<UCHAR*>(buffer)); |
| 5360 | } |
| 5361 | catch (const Exception& ex) |
| 5362 | { |
| 5363 | transliterateException(tdbb, ex, user_status, "JResultSet::fetchPrior"); |
| 5364 | return IStatus::RESULT_ERROR; |
| 5365 | } |
| 5366 | |
| 5367 | trace_warning(tdbb, user_status, "JResultSet::fetchPrior"); |
| 5368 | } |
| 5369 | catch (const Exception& ex) |
| 5370 | { |
| 5371 | ex.stuffException(user_status); |
| 5372 | return IStatus::RESULT_ERROR; |
| 5373 | } |
| 5374 | |
| 5375 | successful_completion(user_status); |
| 5376 | return (state == 0) ? IStatus::RESULT_OK : IStatus::RESULT_NO_DATA; |
| 5377 | } |
| 5378 | |
| 5379 | |
| 5380 | int JResultSet::fetchFirst(CheckStatusWrapper* user_status, void* buffer) |
nothing calls this directly
no test coverage detected