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

Method WriteDB

storage/connect/tabjmg.cpp:386–399  ·  view source on GitHub ↗

/ WriteDB: Data Base write routine for DOS access method. */ /

Source from the content-addressed store, hash-verified

384/* WriteDB: Data Base write routine for DOS access method. */
385/***********************************************************************/
386int TDBJMG::WriteDB(PGLOBAL g)
387{
388 int rc = RC_OK;
389
390 if (Mode == MODE_INSERT) {
391 rc = Jcp->DocWrite(g, NULL);
392 } else if (Mode == MODE_DELETE) {
393 rc = Jcp->DocDelete(g, false);
394 } else if (Mode == MODE_UPDATE) {
395 rc = Jcp->DocUpdate(g, this);
396 } // endif Mode
397
398 return rc;
399} // end of WriteDB
400
401/***********************************************************************/
402/* Data Base delete line routine for ODBC access method. */

Callers

nothing calls this directly

Calls 3

DocUpdateMethod · 0.80
DocWriteMethod · 0.45
DocDeleteMethod · 0.45

Tested by

no test coverage detected