Skip to content

Commit 323f3f4

Browse files
authored
Merge pull request #565 from GJRTimmer/fix/wal
ADD: SQLITE_DEFAULT_WAL_SYNCHRONOUS
2 parents 323a32b + 2614d46 commit 323f3f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sqlite3.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ package sqlite3
1515
#cgo CFLAGS: -DSQLITE_TRACE_SIZE_LIMIT=15
1616
#cgo CFLAGS: -DSQLITE_OMIT_DEPRECATED
1717
#cgo CFLAGS: -DSQLITE_DISABLE_INTRINSIC
18+
#cgo CFLAGS: -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1
1819
#cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
1920
#cgo CFLAGS: -Wno-deprecated-declarations
2021
#ifndef USE_LIBSQLITE3

0 commit comments

Comments
 (0)