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

Method getPlan

src/remote/client/interface.cpp:4628–4651  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4626
4627
4628const 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
4654IMessageMetadata* Statement::getInputMetadata(CheckStatusWrapper* status)

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