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

Method getAffectedRecords

src/remote/client/interface.cpp:4706–4729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4704
4705
4706ISC_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
4732void Statement::setCursorName(CheckStatusWrapper* status, const char* cursor)

Callers

nothing calls this directly

Calls 4

CHECK_HANDLEFunction · 0.85
raiseExceptionMethod · 0.80
resetFunction · 0.70
stuffExceptionMethod · 0.45

Tested by

no test coverage detected