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

Function MVOL_read

src/burp/mvol.cpp:837–850  ·  view source on GitHub ↗

____________________________________________________________ Read a buffer's worth of data. (common)

Source from the content-addressed store, hash-verified

835// Read a buffer's worth of data. (common)
836//
837void MVOL_read(BurpGlobals* tdgbl)
838{
839 // Setup our pointer
840 if (!tdgbl->master)
841 {
842 // hvlad: it will throw ExcReadDone exception when there is nothing to read
843 RestoreRelationTask::renewBuffer(tdgbl);
844 tdgbl->mvol_io_ptr = tdgbl->mvol_io_buffer;
845 return;
846 }
847
848 tdgbl->gbl_io_ptr = tdgbl->gbl_compress_buffer;
849 tdgbl->gbl_io_cnt = unzip_read_block(tdgbl, tdgbl->gbl_io_ptr, ZC_BUFSIZE);
850}
851
852int mvol_read(int* cnt, UCHAR** ptr)
853{

Callers 3

MVOL_read_blockFunction · 0.85
MVOL_skip_blockFunction · 0.85
getMethod · 0.85

Calls 1

unzip_read_blockFunction · 0.85

Tested by

no test coverage detected