summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/recovery_unit_noop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/recovery_unit_noop.h')
-rw-r--r--src/mongo/db/storage/recovery_unit_noop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/storage/recovery_unit_noop.h b/src/mongo/db/storage/recovery_unit_noop.h
index 1e07b1f9c0b..e6f560a7871 100644
--- a/src/mongo/db/storage/recovery_unit_noop.h
+++ b/src/mongo/db/storage/recovery_unit_noop.h
@@ -53,6 +53,7 @@ namespace mongo {
virtual void* writingPtr(void* data, size_t len) {
return data;
}
+ virtual void setRollbackWritesDisabled() {}
};
} // namespace mongo