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

Method getType

src/remote/client/interface.cpp:4557–4580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4555
4556
4557unsigned Statement::getType(CheckStatusWrapper* status)
4558{
4559 try
4560 {
4561 reset(status);
4562
4563 // Check and validate handles, etc.
4564
4565 CHECK_HANDLE(statement, isc_bad_req_handle);
4566 Rdb* rdb = statement->rsr_rdb;
4567 rem_port* port = rdb->rdb_port;
4568 RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION);
4569
4570 statement->raiseException();
4571
4572 return metadata.getType();
4573 }
4574 catch (const Exception& ex)
4575 {
4576 ex.stuffException(status);
4577 }
4578
4579 return 0;
4580}
4581
4582
4583unsigned Statement::getFlags(CheckStatusWrapper* status)

Callers 2

getFlagsMethod · 0.45
buildBlrMethod · 0.45

Calls 5

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

Tested by

no test coverage detected