Skip to content

Commit 5fbe991

Browse files
committed
Fixup ifdef for easier switching
1 parent 559588b commit 5fbe991

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/db.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -3045,8 +3045,9 @@ void redisDbPersistentData::commitChanges(const redisDbPersistentDataSnapshot **
30453045
}
30463046
if (m_spstorage != nullptr)
30473047
{
3048+
#if 1
30483049
m_spstorage->endWriteBatch();
3049-
#if 0
3050+
#else
30503051
auto *tok = m_spstorage->begin_endWriteBatch(serverTL->el, storageLoadCallback);
30513052
if (tok != nullptr)
30523053
{

0 commit comments

Comments
 (0)