Skip to content

Commit

Permalink
main/sqlite: add stat4 and raise the var/recurse limit
Browse files Browse the repository at this point in the history
stat4 should make it more optimised in general, and huge databases with
a some software run into the latter, and other distributors all raise
the vars now too
  • Loading branch information
nekopsykose committed Jun 24, 2024
1 parent a6f2c37 commit 429d78f
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions main/sqlite/template.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
pkgname = "sqlite"
pkgver = "3.46.0"
_amalg = "3460000"
pkgrel = 0
pkgrel = 1
build_style = "gnu_configure"
configure_args = [
"--enable-threadsafe",
"--enable-dynamic-extensions",
"--enable-fts3",
"--enable-fts4",
"--enable-fts5",
"--enable-threadsafe",
]
configure_gen = []
hostmakedepends = ["pkgconf"]
Expand All @@ -20,17 +22,18 @@
options = ["!parallel"]

_cflags = [
"-DSQLITE_ENABLE_DBSTAT_VTAB",
"-DHAVE_FDATASYNC",
"-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE=1",
"-DSQLITE_ENABLE_COLUMN_METADATA",
"-DSQLITE_ENABLE_UNLOCK_NOTIFY",
"-DSQLITE_SECURE_DELETE",
"-DSQLITE_ENABLE_FTS3",
"-DSQLITE_ENABLE_DBSTAT_VTAB",
"-DSQLITE_ENABLE_DESERIALIZE",
"-DSQLITE_ENABLE_FTS3_PARENTHESIS",
"-DSQLITE_ENABLE_FTS4",
"-DSQLITE_ENABLE_FTS3_TOKENIZER=1",
"-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE=1",
"-DSQLITE_ENABLE_DESERIALIZE",
"-DHAVE_FDATASYNC",
"-DSQLITE_ENABLE_STAT4=1",
"-DSQLITE_ENABLE_UNLOCK_NOTIFY",
"-DSQLITE_MAX_EXPR_DEPTH=5000",
"-DSQLITE_MAX_VARIABLE_NUMBER=250000",
"-DSQLITE_SECURE_DELETE",
]

if self.profile().endian == "big":
Expand Down

0 comments on commit 429d78f

Please sign in to comment.