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

Method query

src/remote/client/interface.cpp:7199–7232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7197
7198
7199void Service::query(CheckStatusWrapper* status,
7200 unsigned int sendLength, const unsigned char* sendItems,
7201 unsigned int receiveLength, const unsigned char* receiveItems,
7202 unsigned int bufferLength, unsigned char* buffer)
7203{
7204/**************************************
7205 *
7206 * g d s _ s e r v i c e _ q u e r y
7207 *
7208 **************************************
7209 *
7210 * Functional description
7211 * Provide information on service object.
7212 *
7213 **************************************/
7214 try
7215 {
7216 reset(status);
7217
7218 // Check and validate handles, etc.
7219
7220 CHECK_HANDLE(rdb, isc_bad_svc_handle);
7221 rem_port* port = rdb->rdb_port;
7222 RefMutexGuard portGuard(*port->port_sync, FB_FUNCTION);
7223
7224 info(status, rdb, op_service_info, rdb->rdb_id, 0,
7225 sendLength, sendItems, receiveLength, receiveItems,
7226 bufferLength, buffer);
7227 }
7228 catch (const Exception& ex)
7229 {
7230 ex.stuffException(status);
7231 }
7232}
7233
7234
7235void Service::cancel(CheckStatusWrapper* status)

Callers 2

SRVR_enum_attachmentsFunction · 0.45
infoMethod · 0.45

Calls 4

CHECK_HANDLEFunction · 0.85
infoFunction · 0.85
resetFunction · 0.70
stuffExceptionMethod · 0.45

Tested by

no test coverage detected