From 5fbe9915c308c4a5f48a6548c363d537800c677c Mon Sep 17 00:00:00 2001 From: John Sully Date: Mon, 18 Mar 2024 21:50:51 +0000 Subject: [PATCH] Fixup ifdef for easier switching --- src/db.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db.cpp b/src/db.cpp index f32e8084c..69d5a6405 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -3045,8 +3045,9 @@ void redisDbPersistentData::commitChanges(const redisDbPersistentDataSnapshot ** } if (m_spstorage != nullptr) { +#if 1 m_spstorage->endWriteBatch(); -#if 0 +#else auto *tok = m_spstorage->begin_endWriteBatch(serverTL->el, storageLoadCallback); if (tok != nullptr) {