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

Function send_error

src/remote/server/server.cpp:6342–6348  ·  view source on GitHub ↗

Maybe this can be a member of rem_port?

Source from the content-addressed store, hash-verified

6340
6341// Maybe this can be a member of rem_port?
6342static void send_error(rem_port* port, PACKET* apacket, ISC_STATUS errcode)
6343{
6344 LocalStatus ls;
6345 CheckStatusWrapper status_vector(&ls);
6346 (Arg::Gds(errcode)).copyTo(&status_vector);
6347 port->send_response(apacket, 0, 0, &status_vector, false);
6348}
6349
6350// Maybe this can be a member of rem_port?
6351static void send_error(rem_port* port, PACKET* apacket, const Arg::StatusVector& err)

Callers 2

process_packetFunction · 0.85
continue_authenticationFunction · 0.85

Calls 3

GdsClass · 0.85
send_responseMethod · 0.80
copyToMethod · 0.45

Tested by

no test coverage detected