| 4704 | |
| 4705 | |
| 4706 | ISC_UINT64 Statement::getAffectedRecords(CheckStatusWrapper* status) |
| 4707 | { |
| 4708 | try |
| 4709 | { |
| 4710 | reset(status); |
| 4711 | |
| 4712 | // Check and validate handles, etc. |
| 4713 | |
| 4714 | CHECK_HANDLE(statement, isc_bad_req_handle); |
| 4715 | Rdb* rdb = statement->rsr_rdb; |
| 4716 | rem_port* port = rdb->rdb_port; |
| 4717 | RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION); |
| 4718 | |
| 4719 | statement->raiseException(); |
| 4720 | |
| 4721 | return metadata.getAffectedRecords(); |
| 4722 | } |
| 4723 | catch (const Exception& ex) |
| 4724 | { |
| 4725 | ex.stuffException(status); |
| 4726 | } |
| 4727 | |
| 4728 | return 0; |
| 4729 | } |
| 4730 | |
| 4731 | |
| 4732 | void Statement::setCursorName(CheckStatusWrapper* status, const char* cursor) |
nothing calls this directly
no test coverage detected