| 4881 | } |
| 4882 | |
| 4883 | void 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 | |
| 4901 | unsigned int JAttachment::getStatementTimeout(Firebird::CheckStatusWrapper* user_status) |
| 4902 | { |
no test coverage detected