MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE isc_start_and_send

Function API_ROUTINE isc_start_and_send

src/yvalve/why.cpp:3535–3555  ·  view source on GitHub ↗

Get a record from the host program.

Source from the content-addressed store, hash-verified

3533
3534// Get a record from the host program.
3535ISC_STATUS API_ROUTINE isc_start_and_send(ISC_STATUS* userStatus, isc_req_handle* reqHandle,
3536 isc_tr_handle* traHandle, USHORT msgType, USHORT msgLength, const void* msg, SSHORT level)
3537{
3538 StatusVector status(userStatus);
3539 CheckStatusWrapper statusWrapper(&status);
3540
3541 try
3542 {
3543 RefPtr<YRequest> request(translateHandle(requests, reqHandle));
3544 RefPtr<YTransaction> transaction(translateHandle(transactions, traHandle));
3545
3546 request->startAndSend(&statusWrapper, transaction, level, msgType,
3547 msgLength, reinterpret_cast<const UCHAR*>(msg));
3548 }
3549 catch (const Exception& e)
3550 {
3551 e.stuffException(&statusWrapper);
3552 }
3553
3554 return status[1];
3555}
3556
3557
3558// Get a record from the host program.

Callers

nothing calls this directly

Calls 3

translateHandleFunction · 0.85
startAndSendMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected