| 5468 | |
| 5469 | |
| 5470 | int JResultSet::fetchRelative(CheckStatusWrapper* user_status, int offset, void* buffer) |
| 5471 | { |
| 5472 | try |
| 5473 | { |
| 5474 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 5475 | check_database(tdbb); |
| 5476 | |
| 5477 | try |
| 5478 | { |
| 5479 | state = cursor->fetchRelative(tdbb, static_cast<UCHAR*>(buffer), offset); |
| 5480 | } |
| 5481 | catch (const Exception& ex) |
| 5482 | { |
| 5483 | transliterateException(tdbb, ex, user_status, "JResultSet::fetchRelative"); |
| 5484 | return IStatus::RESULT_ERROR; |
| 5485 | } |
| 5486 | |
| 5487 | trace_warning(tdbb, user_status, "JResultSet::fetchRelative"); |
| 5488 | } |
| 5489 | catch (const Exception& ex) |
| 5490 | { |
| 5491 | ex.stuffException(user_status); |
| 5492 | return IStatus::RESULT_ERROR; |
| 5493 | } |
| 5494 | |
| 5495 | successful_completion(user_status); |
| 5496 | return (state == 0) ? IStatus::RESULT_OK : IStatus::RESULT_NO_DATA; |
| 5497 | } |
| 5498 | |
| 5499 | |
| 5500 | FB_BOOLEAN JResultSet::isEof(CheckStatusWrapper* user_status) |
nothing calls this directly
no test coverage detected