aboutsummaryrefslogtreecommitdiff
path: root/src/os.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2016-03-04 16:42:43 +0000
committerdrh <drh@noemail.net>2016-03-04 16:42:43 +0000
commit2606aca80f35c4672c7834e90786d737679fa35b (patch)
tree2a8be85e2e802ad5ba42c4bb8e9102712cb287aa /src/os.c
parentfd37e67b16d6c6228aa58709299c86ec81a552a5 (diff)
parent3298a641a2b1c883b34e9d85541db50d6e2d1ff9 (diff)
downloadsqlite-2606aca80f35c4672c7834e90786d737679fa35b.tar.gz
sqlite-2606aca80f35c4672c7834e90786d737679fa35b.zip
Merge recent enhancements from trunk. Default page size is 4096. Writes
to statement journals are avoided. FossilOrigin-Name: 456df3365e2df60e34762f2024bb551538b3f72b
Diffstat (limited to 'src/os.c')
-rw-r--r--src/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os.c b/src/os.c
index 2fd44abf8..eed782853 100644
--- a/src/os.c
+++ b/src/os.c
@@ -66,7 +66,7 @@ int sqlite3_open_file_count = 0;
#if defined(SQLITE_TEST)
int sqlite3_memdebug_vfs_oom_test = 1;
#define DO_OS_MALLOC_TEST(x) \
- if (sqlite3_memdebug_vfs_oom_test && (!x || !sqlite3IsMemJournal(x))) { \
+ if (sqlite3_memdebug_vfs_oom_test && (!x || !sqlite3JournalIsInMemory(x))) { \
void *pTstAlloc = sqlite3Malloc(10); \
if (!pTstAlloc) return SQLITE_IOERR_NOMEM_BKPT; \
sqlite3_free(pTstAlloc); \