Skip to content

Build tags

Mattn used build tags to enable SQLite compile-time features. Here those features are already enabled by default (modernc compiles SQLite with them), so the build tags become no-ops:

mattn build taggosqlite status
sqlite_fts5always on
sqlite_json (JSON1)always on
sqlite_math_functionsalways on
sqlite_rtree, sqlite_geopolyalways on
sqlite_dbstatalways on
sqlite_preupdate_hookalways on, via (*Conn).RegisterPreUpdateHook
sqlite_userauthdropped (deprecated upstream)
sqlite_unlock_notifyinherited from modernc
sqlite_vtablealways on, see modernc.org/sqlite/vtab

You don’t pass any of these tags; just remove them from your build. The SESSION extension is also compiled in (see Sessions).