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

Function MVOL_fini_write

src/burp/mvol.cpp:605–621  ·  view source on GitHub ↗

____________________________________________________________

Source from the content-addressed store, hash-verified

603//
604//
605FB_UINT64 MVOL_fini_write()
606{
607 BurpGlobals* tdgbl = BurpGlobals::getSpecific();
608
609 zip_write_block(tdgbl, tdgbl->gbl_compress_buffer, tdgbl->gbl_io_ptr - tdgbl->gbl_compress_buffer, true);
610
611#ifdef HAVE_ZLIB_H
612 if (tdgbl->gbl_sw_zip)
613 {
614 zlib().deflateEnd(&tdgbl->gbl_stream);
615 }
616#endif
617
618 brio_fini(tdgbl);
619
620 return mvol_fini_write(tdgbl, &tdgbl->blk_io_cnt, &tdgbl->blk_io_ptr);
621}
622
623FB_UINT64 mvol_fini_write(BurpGlobals* tdgbl, int* io_cnt, UCHAR** io_ptr)
624{

Callers

nothing calls this directly

Calls 3

zip_write_blockFunction · 0.85
brio_finiFunction · 0.85
mvol_fini_writeFunction · 0.85

Tested by

no test coverage detected