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

Method fetchLast

src/remote/client/interface.cpp:5306–5322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5304
5305
5306int ResultSet::fetchLast(CheckStatusWrapper* user_status, void* buffer)
5307{
5308 try
5309 {
5310 if (!(flags & IStatement::CURSOR_TYPE_SCROLLABLE))
5311 (Arg::Gds(isc_invalid_fetch_option) << Arg::Str("LAST")).raise();
5312
5313 return fetch(user_status, buffer, fetch_last) ?
5314 IStatus::RESULT_OK : IStatus::RESULT_NO_DATA;
5315 }
5316 catch (const Exception& ex)
5317 {
5318 ex.stuffException(user_status);
5319 }
5320
5321 return IStatus::RESULT_ERROR;
5322}
5323
5324
5325int ResultSet::fetchAbsolute(CheckStatusWrapper* user_status, int position, void* buffer)

Callers 1

fetchMethod · 0.45

Calls 4

GdsClass · 0.85
StrClass · 0.85
raiseMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected