go-sqlite3
go-sqlite3 copied to clipboard
sqlite3 driver for go using database/sql
`go env` ``` GO111MODULE="" GOARCH="amd64" GOBIN="/Users/amitava.ghosh/go/bin/" GOCACHE="/Users/amitava.ghosh/Library/Caches/go-build" GOENV="/Users/amitava.ghosh/Library/Application Support/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOINSECURE="" GOMODCACHE="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/packages/pkg/mod" GOOS="darwin" GOPATH="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/packages" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/Users/amitava.ghosh/.asdf/installs/golang/1.18.3/go/pkg/tool/darwin_amd64" GOVCS="" GOVERSION="go1.18.3" GCCGO="gccgo" GOAMD64="v1" AR="ar" CC="clang"...
when i build with windows 386&amd64 binaries, it result: ``` sqlite3-binding.c: In function 'sqlite3SelectNew': sqlite3-binding.c:123303:10: warning: function may return address of local variable [-Wreturn-local-addr] 123303 | return pNew; | ^~~~...
When I cross compiled a program that used the `[SQLite](https://github.com/mattn/go-sqlite3)` package and cross compiled from linux to mac, the build failed. go env ``` GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/root/.cache/go-build" GOENV="/root/.config/go/env" GOEXE=""...
I almost missed the sqlite_vtable build tag since it wasnt listed as a "feature" in the README.md. Added for the next newbie like me that comes around 😃 Signed-off-by: David...
As it was, the vtable example will give an error when adding any kind of SQL constraint in the SQL statement. Updating the BestIndex method will ensure that adding SQL...
Not a significant update. I'm really just trying to make my first contribution ever on GitHub. Feel free to add to the next update.
The virtual table omit flag is idenfified by sqlite as an optional hint you can give the database about whether you will process the constraints, but the library doesn't require...
Add Blob I/O
Incremental Blob I/O ===================== This PR adds support for [Incremental Blob I/O](https://www.sqlite.org/c3ref/blob_open.html). Notes ----- - Modeled after [backup](/mattn/go-sqlite3/blob/master/backup.go) using a driver connection. - The interfaces *io.Reader* and *io.Closer* have been...
Hi, sqlite affected by vulnerability [CVE-2022-35737](https://nvd.nist.gov/vuln/detail/CVE-2022-35737), the [patch](https://www.sqlite.org/src/info/2a6f761864a462de) affect function whereKeyStats, which has the same code in go-sqlite3. Our go-sqlite3 version is v1.14.8