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

Method batch_msg

src/remote/server/server.cpp:3667–3683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3665}
3666
3667void rem_port::batch_msg(P_BATCH_MSG* batch, PACKET* sendL)
3668{
3669 LocalStatus ls;
3670 CheckStatusWrapper status_vector(&ls);
3671
3672 Rsr* statement;
3673 getHandle(statement, batch->p_batch_statement);
3674 statement->checkIface();
3675 statement->checkBatch();
3676
3677 const ULONG count = batch->p_batch_messages;
3678 const void* data = batch->p_batch_data.cstr_address;
3679
3680 statement->rsr_batch->add(&status_vector, count, data);
3681
3682 this->send_response(sendL, 0, 0, &status_vector, true);
3683}
3684
3685
3686void rem_port::batch_blob_stream(P_BATCH_BLOB* batch, PACKET* sendL)

Callers 1

process_packetFunction · 0.80

Calls 4

send_responseMethod · 0.95
checkIfaceMethod · 0.80
checkBatchMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected