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

Method ResetDB

storage/connect/tabmul.cpp:351–358  ·  view source on GitHub ↗

/ Reset read/write position values. */ /

Source from the content-addressed store, hash-verified

349/* Reset read/write position values. */
350/***********************************************************************/
351void TDBMUL::ResetDB(void)
352 {
353 for (PCOL colp = Columns; colp; colp = colp->GetNext())
354 if (colp->GetAmType() == TYPE_AM_FILID)
355 colp->COLBLK::Reset();
356
357 Tdbp->ResetDB();
358 } // end of ResetDB
359
360/***********************************************************************/
361/* Returns RowId if b is false or Rownum if b is true. */

Callers 1

OpenDBMethod · 0.45

Calls 2

GetNextMethod · 0.45
GetAmTypeMethod · 0.45

Tested by

no test coverage detected