summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbcheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbcheck.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbcheck.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/dbcheck.cpp b/plugins/Dbx_mdbx/src/dbcheck.cpp
index 6faa00095e..d64f9094e3 100644
--- a/plugins/Dbx_mdbx/src/dbcheck.cpp
+++ b/plugins/Dbx_mdbx/src/dbcheck.cpp
@@ -100,3 +100,18 @@ int CDbxMDBX::CheckEvents3(void)
return 0;
}
+
+
+///////////////////////////////////////////////////////////////////////////////
+// MIDatabaseChecker
+
+int CDbxMDBX::CheckDb(int phase)
+{
+ switch (phase) {
+ case 0: return CheckEvents1();
+ case 1: return CheckEvents2();
+ case 2: return CheckEvents3();
+ }
+
+ return ERROR_OUT_OF_PAPER;
+}