| 2332 | } |
| 2333 | |
| 2334 | static Rtr* getTransaction(RemoteXdr* xdrs, USHORT tran_id) |
| 2335 | { |
| 2336 | rem_port* port = xdrs->x_public; |
| 2337 | |
| 2338 | if (tran_id >= port->port_objects.getCount()) |
| 2339 | return nullptr; |
| 2340 | |
| 2341 | try |
| 2342 | { |
| 2343 | return port->port_objects[tran_id]; |
| 2344 | } |
| 2345 | catch (const status_exception&) |
| 2346 | { |
| 2347 | return nullptr; |
| 2348 | } |
| 2349 | } |
| 2350 | |
| 2351 | static bool_t xdr_blob_stream(RemoteXdr* xdrs, SSHORT statement_id, CSTRING* strmPortion) |
| 2352 | { |
no test coverage detected