| 5438 | |
| 5439 | |
| 5440 | int JResultSet::fetchAbsolute(CheckStatusWrapper* user_status, int position, void* buffer) |
| 5441 | { |
| 5442 | try |
| 5443 | { |
| 5444 | EngineContextHolder tdbb(user_status, this, FB_FUNCTION); |
| 5445 | check_database(tdbb); |
| 5446 | |
| 5447 | try |
| 5448 | { |
| 5449 | state = cursor->fetchAbsolute(tdbb, static_cast<UCHAR*>(buffer), position); |
| 5450 | } |
| 5451 | catch (const Exception& ex) |
| 5452 | { |
| 5453 | transliterateException(tdbb, ex, user_status, "JResultSet::fetchAbsolute"); |
| 5454 | return IStatus::RESULT_ERROR; |
| 5455 | } |
| 5456 | |
| 5457 | trace_warning(tdbb, user_status, "JResultSet::fetchAbsolute"); |
| 5458 | } |
| 5459 | catch (const Exception& ex) |
| 5460 | { |
| 5461 | ex.stuffException(user_status); |
| 5462 | return IStatus::RESULT_ERROR; |
| 5463 | } |
| 5464 | |
| 5465 | successful_completion(user_status); |
| 5466 | return (state == 0) ? IStatus::RESULT_OK : IStatus::RESULT_NO_DATA; |
| 5467 | } |
| 5468 | |
| 5469 | |
| 5470 | int JResultSet::fetchRelative(CheckStatusWrapper* user_status, int offset, void* buffer) |
nothing calls this directly
no test coverage detected