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

Function ping_connection

src/remote/server/server.cpp:4790–4810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4788
4789
4790static void ping_connection(rem_port* port, PACKET* send)
4791{
4792/**************************************
4793 *
4794 * p i n g _ c o n n e c t i o n
4795 *
4796 **************************************
4797 *
4798 * Functional description
4799 * Check the connection for persistent errors.
4800 *
4801 **************************************/
4802 LocalStatus ls;
4803 CheckStatusWrapper status_vector(&ls);
4804
4805 Rdb* rdb = port->port_context;
4806 if (!bad_db(&status_vector, rdb))
4807 rdb->rdb_iface->ping(&status_vector);
4808
4809 port->send_response(send, 0, 0, &status_vector, false);
4810}
4811
4812
4813ISC_STATUS rem_port::open_blob(P_OP op, P_BLOB* stuff, PACKET* sendL)

Callers 1

process_packetFunction · 0.85

Calls 3

bad_dbFunction · 0.85
send_responseMethod · 0.80
pingMethod · 0.45

Tested by

no test coverage detected