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

Method end_request

src/remote/server/server.cpp:3286–3313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3284
3285
3286ISC_STATUS rem_port::end_request(P_RLSE * release, PACKET* sendL)
3287{
3288/**************************************
3289 *
3290 * e n d _ r e q u e s t
3291 *
3292 **************************************
3293 *
3294 * Functional description
3295 * End a request.
3296 *
3297 **************************************/
3298 Rrq* requestL;
3299 LocalStatus ls;
3300 CheckStatusWrapper status_vector(&ls);
3301
3302 getHandle(requestL, release->p_rlse_object);
3303
3304 requestL->rrq_iface->free(&status_vector);
3305
3306 if (!(status_vector.getState() & IStatus::STATE_ERRORS))
3307 {
3308 requestL->rrq_iface = NULL;
3309 release_request(requestL);
3310 }
3311
3312 return this->send_response(sendL, 0, 0, &status_vector, true);
3313}
3314
3315
3316ISC_STATUS rem_port::end_statement(P_SQLFREE* free_stmt, PACKET* sendL)

Callers 1

process_packetFunction · 0.80

Calls 4

send_responseMethod · 0.95
release_requestFunction · 0.70
freeMethod · 0.45
getStateMethod · 0.45

Tested by

no test coverage detected