| 4626 | |
| 4627 | |
| 4628 | const char* Statement::getPlan(CheckStatusWrapper* status, FB_BOOLEAN detailed) |
| 4629 | { |
| 4630 | try |
| 4631 | { |
| 4632 | reset(status); |
| 4633 | |
| 4634 | // Check and validate handles, etc. |
| 4635 | |
| 4636 | CHECK_HANDLE(statement, isc_bad_req_handle); |
| 4637 | Rdb* rdb = statement->rsr_rdb; |
| 4638 | rem_port* port = rdb->rdb_port; |
| 4639 | RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION); |
| 4640 | |
| 4641 | statement->raiseException(); |
| 4642 | |
| 4643 | return metadata.getPlan(detailed); |
| 4644 | } |
| 4645 | catch (const Exception& ex) |
| 4646 | { |
| 4647 | ex.stuffException(status); |
| 4648 | } |
| 4649 | |
| 4650 | return NULL; |
| 4651 | } |
| 4652 | |
| 4653 | |
| 4654 | IMessageMetadata* Statement::getInputMetadata(CheckStatusWrapper* status) |
nothing calls this directly
no test coverage detected