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

Method setCursorName

src/jrd/jrd.cpp:5908–5933  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5906
5907
5908void JStatement::setCursorName(CheckStatusWrapper* user_status, const char* cursor)
5909{
5910 try
5911 {
5912 EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
5913 check_database(tdbb);
5914
5915 try
5916 {
5917 getHandle()->setCursor(tdbb, cursor);
5918 }
5919 catch (const Exception& ex)
5920 {
5921 transliterateException(tdbb, ex, user_status, "JResultSet::setCursorName");
5922 return;
5923 }
5924 trace_warning(tdbb, user_status, "JResultSet::setCursorName");
5925 }
5926 catch (const Exception& ex)
5927 {
5928 ex.stuffException(user_status);
5929 return;
5930 }
5931
5932 successful_completion(user_status);
5933}
5934
5935
5936void JResultSet::setDelayedOutputFormat(CheckStatusWrapper* user_status, Firebird::IMessageMetadata* outMetadata)

Callers 1

openCursorMethod · 0.45

Calls 6

check_databaseFunction · 0.85
transliterateExceptionFunction · 0.85
trace_warningFunction · 0.85
successful_completionFunction · 0.85
setCursorMethod · 0.80
stuffExceptionMethod · 0.45

Tested by

no test coverage detected