MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / executeStep

Method executeStep

Source/3rdParty/sqlite/SQLiteCpp/Backup.cpp:52–60  ·  view source on GitHub ↗

Execute backup step with a given number of source pages to be copied

Source from the content-addressed store, hash-verified

50
51// Execute backup step with a given number of source pages to be copied
52int Backup::executeStep(const int aNumPage /* = -1 */)
53{
54 const int res = sqlite3_backup_step(mpSQLiteBackup.get(), aNumPage);
55 if (SQLITE_OK != res && SQLITE_DONE != res && SQLITE_BUSY != res && SQLITE_LOCKED != res)
56 {
57 throw SQLite::Exception(sqlite3_errstr(res), res);
58 }
59 return res;
60}
61
62// Get the number of remaining source pages to be copied in this backup process
63int Backup::getRemainingPageCount() const

Callers 8

existDBUnsafeMethod · 0.45
existMethod · 0.45
queryUnsafeMethod · 0.45
SavepointMethod · 0.45
bind_execFunction · 0.45
execAndGetMethod · 0.45
tableExistsMethod · 0.45
backupMethod · 0.45

Calls 2

ExceptionFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected