MCPcopy Create free account
hub / github.com/MariaDB/server / CloseTableFile

Method CloseTableFile

storage/connect/filamgz.cpp:389–398  ·  view source on GitHub ↗

/ Data Base close routine for DOS access method. */ /

Source from the content-addressed store, hash-verified

387/* Data Base close routine for DOS access method. */
388/***********************************************************************/
389void GZFAM::CloseTableFile(PGLOBAL, bool)
390 {
391 int rc = gzclose(Zfile);
392
393 if (trace(1))
394 htrc("GZ CloseDB: closing %s rc=%d\n", To_File, rc);
395
396 Zfile = NULL; // So we can know whether table is open
397//To_Fb->Count = 0; // Avoid double closing by PlugCloseAll
398 } // end of CloseTableFile
399
400/***********************************************************************/
401/* Rewind routine for GZ access method. */

Callers

nothing calls this directly

Calls 5

gzcloseFunction · 0.85
deflateEndFunction · 0.85
SetIntCatInfoMethod · 0.80
htrcFunction · 0.70
GetNameMethod · 0.45

Tested by

no test coverage detected