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

Method fetchPrior

src/remote/client/interface.cpp:5268–5284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5266
5267
5268int ResultSet::fetchPrior(CheckStatusWrapper* user_status, void* buffer)
5269{
5270 try
5271 {
5272 if (!(flags & IStatement::CURSOR_TYPE_SCROLLABLE))
5273 (Arg::Gds(isc_invalid_fetch_option) << Arg::Str("PRIOR")).raise();
5274
5275 return fetch(user_status, buffer, fetch_prior) ?
5276 IStatus::RESULT_OK : IStatus::RESULT_NO_DATA;
5277 }
5278 catch (const Exception& ex)
5279 {
5280 ex.stuffException(user_status);
5281 }
5282
5283 return IStatus::RESULT_ERROR;
5284}
5285
5286
5287int ResultSet::fetchFirst(CheckStatusWrapper* user_status, 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