| 5390 | |
| 5391 | |
| 5392 | FB_BOOLEAN ResultSet::isBof(CheckStatusWrapper* status) |
| 5393 | { |
| 5394 | try |
| 5395 | { |
| 5396 | reset(status); |
| 5397 | |
| 5398 | // Check and validate handles, etc. |
| 5399 | |
| 5400 | if (!stmt) |
| 5401 | { |
| 5402 | Arg::Gds(isc_dsql_cursor_err).raise(); |
| 5403 | } |
| 5404 | Rsr* statement = stmt->getStatement(); |
| 5405 | CHECK_HANDLE(statement, isc_bad_req_handle); |
| 5406 | |
| 5407 | if (!statement->rsr_flags.test(Rsr::FETCHED)) |
| 5408 | return FB_TRUE; |
| 5409 | |
| 5410 | return statement->rsr_flags.test(Rsr::PAST_BOF) ? FB_TRUE : FB_FALSE; |
| 5411 | } |
| 5412 | catch (const Exception& ex) |
| 5413 | { |
| 5414 | ex.stuffException(status); |
| 5415 | } |
| 5416 | |
| 5417 | return FB_FALSE; |
| 5418 | } |
| 5419 | |
| 5420 | |
| 5421 | IMessageMetadata* ResultSet::getMetadata(CheckStatusWrapper* status) |
no test coverage detected