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

Function bad_port_context

src/remote/server/server.cpp:2680–2698  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2678
2679
2680static bool bad_port_context(IStatus* status_vector, IReferenceCounted* iface, const ISC_STATUS error)
2681{
2682/**************************************
2683 *
2684 * b a d _ p o r t _ c o n t e x t
2685 *
2686 **************************************
2687 *
2688 * Functional description
2689 * Check rdb pointer, in case of error create status vector
2690 *
2691 **************************************/
2692 if (iface)
2693 {
2694 return false;
2695 }
2696 (Arg::Gds(error)).copyTo(status_vector);
2697 return true;
2698}
2699
2700
2701static ISC_STATUS cancel_events( rem_port* port, P_EVENT * stuff, PACKET* send)

Callers 2

bad_dbFunction · 0.85
bad_serviceFunction · 0.85

Calls 2

GdsClass · 0.85
copyToMethod · 0.45

Tested by

no test coverage detected