| 3001 | |
| 3002 | |
| 3003 | void Batch::sendBlobPacket(unsigned size, const UCHAR* ptr, bool flash) |
| 3004 | { |
| 3005 | Rsr* statement = stmt->getStatement(); |
| 3006 | Rdb* rdb = statement->rsr_rdb; |
| 3007 | rem_port* port = rdb->rdb_port; |
| 3008 | |
| 3009 | setServerInfo(); |
| 3010 | fb_assert(!(size % blobAlign)); |
| 3011 | |
| 3012 | PACKET* packet = &rdb->rdb_packet; |
| 3013 | packet->p_operation = op_batch_blob_stream; |
| 3014 | P_BATCH_BLOB* batch = &packet->p_batch_blob; |
| 3015 | batch->p_batch_statement = statement->rsr_id; |
| 3016 | batch->p_batch_blob_data.cstr_address = const_cast<UCHAR*>(ptr); |
| 3017 | batch->p_batch_blob_data.cstr_length = size; |
| 3018 | |
| 3019 | sendDeferredPacket(nullptr, port, packet, flash); |
| 3020 | |
| 3021 | blobCount += size; |
| 3022 | } |
| 3023 | |
| 3024 | |
| 3025 | void Batch::sendDeferredPacket(IStatus* status, rem_port* port, PACKET* packet, bool flash) |
nothing calls this directly
no test coverage detected