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

Method IsUsingTemp

storage/connect/tabfix.cpp:281–288  ·  view source on GitHub ↗

/ FIX tables don't use temporary files except if specified as do it. */ /

Source from the content-addressed store, hash-verified

279/* FIX tables don't use temporary files except if specified as do it. */
280/***********************************************************************/
281bool TDBFIX::IsUsingTemp(PGLOBAL)
282 {
283 // Not ready yet to handle using a temporary file with mapping
284 // or while deleting from DBF files.
285 return ((UseTemp() == TMP_YES && Txfp->GetAmType() != TYPE_AM_MAP &&
286 !(Mode == MODE_DELETE && Txfp->GetAmType() == TYPE_AM_DBF)) ||
287 UseTemp() == TMP_FORCE || UseTemp() == TMP_TEST);
288 } // end of IsUsingTemp
289
290/***********************************************************************/
291/* FIX Access Method opening routine (also used by the BIN a.m.) */

Callers 4

OpenTableFileMethod · 0.45
OpenTableFileMethod · 0.45
OpenTableFileMethod · 0.45
OpenTableFileMethod · 0.45

Calls 2

UseTempFunction · 0.85
GetAmTypeMethod · 0.45

Tested by

no test coverage detected