MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / isBof

Method isBof

src/remote/client/interface.cpp:5392–5418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5390
5391
5392FB_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
5421IMessageMetadata* ResultSet::getMetadata(CheckStatusWrapper* status)

Callers 1

fetchMethod · 0.45

Calls 7

GdsClass · 0.85
CHECK_HANDLEFunction · 0.85
resetFunction · 0.70
raiseMethod · 0.45
getStatementMethod · 0.45
testMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected