go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
Environment: Go: go version: go1.23.8 linux/amd64 mattn/go-sqlite3: github.com/mattn/go-sqlite3 v1.14.28 OS/Environment: Debian Bookworm (via mcr.microsoft.com/devcontainers/go:1.23 Docker image) SQLCipher: 3.44.2 2023-11-24 11:41:44 ebead0e7230cd33bcec9f95d2183069565b9e709bf745c9b5db65cc0cbf9alt1 (64-bit) (SQLCipher 4.5.6 community) Built from source Build Tool:...
Fixes mattn/go-sqlite3#1322, fixes mattn/go-sqlite3#1323
**sqlite3 version**: `github.com/mattn/go-sqlite3 v1.14.22` Hello, i would like to know if i'm doing something wrong here... It seems that `sql.Db.Close()` does not release allocated memory when called. **In fact, i...
This adds support for the [SQLite session extension](https://sqlite.org/session/intro.html). - Added build flag - Added tests
The current implementation was changed in [PR-909](https://github.com/mattn/go-sqlite3/pull/909) stating that `sqlite3_column_type()` always returns SQLITE_NULL, but as noted in [ISSUE-600](https://github.com/mattn/go-sqlite3/issues/600), the case was probably because for SQLite3, `sqlite3_column_type()` must be called after...
Provides raw access to database pages. Useful for taking consistent live snapshots of WAL databases without causing write locks by reading out all of the pages and writing them either...
This commit changes Open to not register any of the auth functions when userauth is disabled. It also unifies the public API of this library for when userauth is enabled/disabled....
This commit fixes a bug where the db connection would not always be closed when an error occurred in Open. Additionally, it makes sure that we always unregister any callbacks...
This commit changes SQLiteConn.Exec to use the raw Go query string instead of repeatedly converting it to a C string (which it would do for every statement in the provided...
This commit reduces the number of allocations required to bind args by eliminating string to byte slice conversions for string and time.Time types and by only checking for bind parameters...