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

Method getStatementTimeout

src/jrd/jrd.cpp:4901–4919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4899}
4900
4901unsigned int JAttachment::getStatementTimeout(Firebird::CheckStatusWrapper* user_status)
4902{
4903 unsigned int result = 0;
4904 try
4905 {
4906 EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
4907 check_database(tdbb);
4908
4909 result = getHandle()->getStatementTimeout();
4910 }
4911 catch (const Exception& ex)
4912 {
4913 ex.stuffException(user_status);
4914 return 0;
4915 }
4916
4917 successful_completion(user_status);
4918 return result;
4919}
4920
4921void JAttachment::setStatementTimeout(Firebird::CheckStatusWrapper* user_status, unsigned int timeOut)
4922{

Callers 4

setupTimerMethod · 0.45
evlGetContextFunction · 0.45
putAttachmentMethod · 0.45
INF_database_infoFunction · 0.45

Calls 3

check_databaseFunction · 0.85
successful_completionFunction · 0.85
stuffExceptionMethod · 0.45

Tested by

no test coverage detected