We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A crash (probably from the Pool) when clearly a close is not paired with a prepare for a connection.
The text was updated successfully, but these errors were encountered:
There are two issues. The prepared statement cache is not working:
go clean -testcache && go test -v ./pkg/sqlite3 -run Test_Cache_001
The results can return bad information. Opening with connection without the SQLITE_OPEN_CACHE flag fixes this, so it's definately the cache.
Secondly,
go clean -testcache && go test -v ./pkg/sqlite3 -run Test_Pool_002
Can sometimes return a Prepare/Close panic.
panic: /home/djt/projects/go-sqlite/pkg/sqlite3/cache.go:49: Prepare() missing call to Close() goroutine 20 [running]: github.com/mutablelogic/go-sqlite/sys/sqlite3.(*ConnEx).Prepare.func1(0x2491d00) /home/djt/projects/go-sqlite/sys/sqlite3/statementex.go:50 +0xc8 FAIL github.com/mutablelogic/go-sqlite/pkg/sqlite3 1.843s
Exhibits under higher loads.
Sorry, something went wrong.
djthorpe
No branches or pull requests
A crash (probably from the Pool) when clearly a close is not paired with a prepare for a connection.
The text was updated successfully, but these errors were encountered: