diff options
Diffstat (limited to 'src/mongo/db/storage/kv')
-rw-r--r-- | src/mongo/db/storage/kv/kv_engine.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/storage/kv/kv_engine.h b/src/mongo/db/storage/kv/kv_engine.h index 557a568d3d3..2f26769228a 100644 --- a/src/mongo/db/storage/kv/kv_engine.h +++ b/src/mongo/db/storage/kv/kv_engine.h @@ -457,6 +457,13 @@ public: }; /** + * Returns the 'KeyFormat' tied to 'ident'. + */ + virtual KeyFormat getKeyFormat(OperationContext* opCtx, StringData ident) const { + MONGO_UNREACHABLE; + } + + /** * The destructor will never be called from mongod, but may be called from tests. * Engines may assume that this will only be called in the case of clean shutdown, even if * cleanShutdown() hasn't been called. |