summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mobile/mobile_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/mobile/mobile_util.h')
-rw-r--r--src/mongo/db/storage/mobile/mobile_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/db/storage/mobile/mobile_util.h b/src/mongo/db/storage/mobile/mobile_util.h
index 3c7b18dde7d..9e9c429ef50 100644
--- a/src/mongo/db/storage/mobile/mobile_util.h
+++ b/src/mongo/db/storage/mobile/mobile_util.h
@@ -39,6 +39,7 @@
#define MOBILE_TRACE_LEVEL MOBILE_LOG_LEVEL_HIGH
namespace mongo {
+namespace embedded {
/**
* Converts SQLite return codes to MongoDB statuses.
@@ -65,4 +66,11 @@ void validateLogAndAppendError(ValidateResults* results, const std::string& errM
*/
void doValidate(OperationContext* opCtx, ValidateResults* results);
+/**
+ * Sets the SQLite Pragmas that we want (https://www.sqlite.org/pragma.html)
+ * These should generally improve behavior, performance, and resource usage
+ */
+void configureSession(sqlite3* session);
+
+} // namespace embedded
} // namespace mongo