Skip to content

Commit ac4329b

Browse files
authored
Merge pull request #9 from rqlite/enable-compile-opts
Enable some new SQLite compile options
2 parents 92a7506 + 2a971cd commit ac4329b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sqlite3.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ package sqlite3
2020
#cgo CFLAGS: -DSQLITE_ENABLE_DESERIALIZE
2121
#cgo CFLAGS: -DSQLITE_DEFAULT_WAL_SYNCHRONOUS=1
2222
#cgo CFLAGS: -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
23+
#cgo CFLAGS: -DSQLITE_OMIT_SHARED_CACHE
24+
#cgo CFLAGS: -DSQLITE_ENABLE_JSON1
25+
#cgo CFLAGS: -DSQLITE_ENABLE_DBSTAT_VTAB
2326
#cgo CFLAGS: -Wno-deprecated-declarations
2427
#cgo linux,!android CFLAGS: -DHAVE_PREAD64=1 -DHAVE_PWRITE64=1
2528
#ifndef USE_LIBSQLITE3

0 commit comments

Comments
 (0)