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

Method setIdleTimeout

src/jrd/jrd.cpp:4883–4899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4881}
4882
4883void JAttachment::setIdleTimeout(Firebird::CheckStatusWrapper* user_status, unsigned int timeOut)
4884{
4885 try
4886 {
4887 EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
4888 check_database(tdbb);
4889
4890 getHandle()->setIdleTimeout(timeOut);
4891 }
4892 catch (const Exception& ex)
4893 {
4894 ex.stuffException(user_status);
4895 return;
4896 }
4897
4898 successful_completion(user_status);
4899}
4900
4901unsigned int JAttachment::getStatementTimeout(Firebird::CheckStatusWrapper* user_status)
4902{

Callers 2

executeMethod · 0.45
doAttachMethod · 0.45

Calls 3

check_databaseFunction · 0.85
successful_completionFunction · 0.85
stuffExceptionMethod · 0.45

Tested by

no test coverage detected