Permalink
Browse files

Oops, actually enable concurrent reads with writes

The earlier commit (943213a) accidentally left the CONCURRENT_READS
flag as 0, not 1, so concurrent reads weren't actually enabled...
  • Loading branch information...
1 parent b859ca3 commit a025c161a5f26d04bd1f330d1208dfbf96737671 @snej snej committed Sep 27, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/FMDatabase.m
View
@@ -20,7 +20,7 @@ @implementation CBL_FMDatabase
// If nonzero, the readLock methods allow reads concurrently with a single writer.
// This is legal if the database is in WAL mode.
-#define CONCURRENT_READS 0
+#define CONCURRENT_READS 1
// Set this to 1 to log messages about locks, for debugging.
#define LOG_LOCKS 0

0 comments on commit a025c16

Please sign in to comment.