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

Method blobSetSize

src/dsql/DsqlBatch.cpp:306–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306void DsqlBatch::blobSetSize()
307{
308 // Store size of previous blob if it was changed by appendBlobData()
309 unsigned blobSize = m_blobs.getSize();
310 if (m_setBlobSize)
311 {
312 blobSize -= (m_lastBlob + SIZEOF_BLOB_HEAD);
313 m_blobs.put3(&blobSize, sizeof(blobSize), m_lastBlob + sizeof(ISC_QUAD));
314 m_setBlobSize = false;
315 }
316 DEB_BATCH(fprintf(stderr, "blobSetSize %u\n", blobSize));
317}
318
319void DsqlBatch::blobPrepare()
320{

Callers

nothing calls this directly

Calls 2

put3Method · 0.80
getSizeMethod · 0.45

Tested by

no test coverage detected