Commit 021274d
committed
bazel/sqlite3: use minimal copts matching the omnibus baseline
The initial implementation used go-sqlite3's bundled-amalgamation compile
flags (FTS3, R-tree, UPDATE/DELETE LIMIT, WAL synchronous, trace size limit)
on the assumption that they were required for ABI compatibility. Auditing
the actual go-sqlite3 consumers (MacPorts, Podman, go-rpmdb) shows none of
them exercise those extensions; all queries are simple SELECTs against
regular tables. The full feature set added ~879 KiB to the package
unnecessarily.
Keep only what the omnibus build already compiled with (MATH_FUNCTIONS,
THREADSAFE=1) plus SQLITE_OMIT_DEPRECATED, which go-sqlite3 includes in
its own bundled build so it never calls the removed APIs. The heroku /
non-heroku select() is dropped as both flavors now share the same minimal set.1 parent 498b863 commit 021274d
1 file changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 30 | | |
34 | 31 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 32 | | |
39 | | - | |
40 | | - | |
41 | 33 | | |
42 | 34 | | |
43 | | - | |
44 | 35 | | |
45 | 36 | | |
46 | 37 | | |
| |||
0 commit comments