Skip to content

Commit a0e5886

Browse files
author
Christopher J. Brody
committed
-DSQLITE_DEFAULT_SYNCHRONOUS=3 (extra durable) build flag
ref: storesafe/cordova-sqlite-storage#736
1 parent d027105 commit a0e5886

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ FUTURE TODO: better documentation of API and some internal details
3333
### SQLite build flags
3434

3535
- `-DSQLITE_THREADSAFE=1`
36+
- `-DSQLITE_DEFAULT_SYNCHRONOUS=3`
3637
- `-DSQLITE_DEFAULT_MEMSTATUS=0`
3738
- `-DSQLITE_OMIT_DECLTYPE`
3839
- `-DSQLITE_OMIT_DEPRECATED`

jni/Android.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LOCAL_MODULE := sqlc-native-driver
1212
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../sqlite-amalgamation
1313

1414
LOCAL_CFLAGS += -DSQLITE_THREADSAFE=1
15+
LOCAL_CFLAGS += -DSQLITE_DEFAULT_SYNCHRONOUS=3
1516
LOCAL_CFLAGS += -DSQLITE_DEFAULT_MEMSTATUS=0
1617
LOCAL_CFLAGS += -DSQLITE_OMIT_DECLTYPE
1718
LOCAL_CFLAGS += -DSQLITE_OMIT_DEPRECATED

0 commit comments

Comments
 (0)