| 2426 | |
| 2427 | |
| 2428 | unsigned int Attachment::getStatementTimeout(CheckStatusWrapper* status) |
| 2429 | { |
| 2430 | if (rdb->rdb_port->port_protocol >= PROTOCOL_STMT_TOUT) |
| 2431 | return getSingleInfo(status, fb_info_statement_timeout_att); |
| 2432 | |
| 2433 | status->setErrors(Arg::Gds(isc_wish_list).value()); |
| 2434 | return 0; |
| 2435 | } |
| 2436 | |
| 2437 | |
| 2438 | void Attachment::setStatementTimeout(CheckStatusWrapper* status, unsigned int timeOut) |