1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Omit unused batch-atomic-write code if SQLITE_ENABLE_BATCH_ATOMIC_WRITE is

not defined.

FossilOrigin-Name: a89b62c4966cd297326e8712da40e0962d2328d7ba1f201d5abcec911eeef347
This commit is contained in:
drh
2017-07-22 16:00:34 +00:00
parent 9d70954094
commit d76dba7eb5
4 changed files with 20 additions and 12 deletions

View File

@@ -6399,7 +6399,7 @@ int sqlite3PagerCommitPhaseOne(
&& pPager->journalMode!=PAGER_JOURNALMODE_MEMORY
&& sqlite3JournalIsInMemory(pPager->jfd);
#else
const int bBatch = 0;
# define bBatch 0
#endif
#ifdef SQLITE_ENABLE_ATOMIC_WRITE