aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-02-19 00:29:11 +0000
committerdrh <drh@noemail.net>2015-02-19 00:29:11 +0000
commit883ad04985496dfeb54135a23066cf9fb0b9a1e3 (patch)
tree7ab7d75fb8a39a0afcbc581a939f8c6f796a4b26 /src/main.c
parent96c707a3c285141f3f5764422bdce7a01aaa319f (diff)
downloadsqlite-883ad04985496dfeb54135a23066cf9fb0b9a1e3.tar.gz
sqlite-883ad04985496dfeb54135a23066cf9fb0b9a1e3.zip
First small steps toward brining trunk and apple-osx closer together.
FossilOrigin-Name: 28284ccc0d7301503f6d2d7bee9093738d52e331
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d0bd55c1d..371bb1fed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2707,6 +2707,9 @@ static int openDatabase(
#if !defined(SQLITE_DEFAULT_AUTOMATIC_INDEX) || SQLITE_DEFAULT_AUTOMATIC_INDEX
| SQLITE_AutoIndex
#endif
+#if SQLITE_DEFAULT_CKPTFULLFSYNC
+ | SQLITE_CkptFullFSync
+#endif
#if SQLITE_DEFAULT_FILE_FORMAT<4
| SQLITE_LegacyFileFmt
#endif
@@ -3301,7 +3304,7 @@ int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
sqlite3BtreeLeave(pBtree);
}
sqlite3_mutex_leave(db->mutex);
- return rc;
+ return rc;
}
/*