| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / /
| | |
| | |
| | | |
Related on #623
|
|\ \ \
| |_|/
|/| | |
implementation of set_authorizer interface
|
| | |
| | |
| | |
| | | |
with comments what const are used for what
|
| |/ |
|
|\ \
| |/
|/| |
Update go doc comments to refer to correct interfaces.
|
|/
|
|
|
|
| |
sql.Driver, sql.Conn, sql.Tx sql.Stmt, and sql.Rows are not interfaces.
Updated the comments to refer to the correct interfaces: driver.Driver,
driver.Conn, driver.Tx, driver.Stmt, and driver.Rows.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Because the closed property of the SQLiteRows's *SqliteStmt
was not guarded, it was causing an issue during context
cancellation.
https://github.com/segmentio/go-sqlite3/blob/be424d27acde822f080bdcd8a7ae6abd4d7d801e/sqlite3.go#L1785-L1796
When a statement is performing a query(), if it determines that
the context has been canceled, it will launch a goroutine that
closes the resulting driver.Rows if it's not already completed.
If the driver.Rows is not done (and the context has been canceled),
it will interrupt the connection and more importantly, perform
a rows.Close(). The method rows.Close() guards the closed bool with
a sync.Mutex to set it to true.
If a reader is reading from the SqliteRow, it will call Next()
and that performs this check:
https://github.com/segmentio/go-sqlite3/blob/be424d27acde822f080bdcd8a7ae6abd4d7d801e/sqlite3.go#L1915-L1917
Because this is not guarded, a data race ensues, and this was
actually caught by the Go race detector recently.
I didn't include a test case here because the fix seemed
straightforward enough and because race conditions are hard
to test for. It's been verified in another program that this
fixes the issue. If tests should be provided I'm more than
happy to do so.
|
| |
|
|
|
|
|
| |
* ppc
* ppc64
* ppc64le
|
|
|
|
|
|
|
| |
Add: -lpthread for ppc / ppc64
Issue: #306
[ci ckip]
|
|
|
| |
Fixes #321
|
| |
|
|\
| |
| | |
fix/test/coverage
|
| |
| |
| | |
* Increase coverage
|
| |
| |
| |
| | |
* Removed Goconvey
* Fix coveralls.io
|
|\ \
| | |
| | | |
Update Travis-CI
|
|/ /
| |
| |
| |
| |
| | |
Moved `sqlite_vacuum_incr` and `sqlite_vtable` to module job.
* `sqlite_vacuum_incr` will only store the required auto vacuum information into the datbase page, and not peform an vacuum therefor this can be added easily to the module job.
- `sqlite_vtable` does not require an seperate job because user will include the tag in combination with others.
|
| |
| |
| |
| |
| | |
Closes #511
[skip ci]
|
|/
|
|
|
| |
Closes #209
[skip ci]
|
| |
|
| |
|
| |
|
|\
| |
| | |
fix/118
|
| |
| |
| |
| |
| |
| | |
* Added TestMultiBlobs
* Removed dead code
Fixes #118
|
|\ \
| |/
|/| |
Follow official Release Policy
|
| |
| |
| | |
[ci skip]
|
| |
| |
| | |
Updated package for follow official Golang Release Policy.
|
| | |
|
|\ \
| | |
| | | |
Feature/userauth
|
| | | |
|
| | |
| | |
| | | |
Allow user to choose how to encode passwords with connection string overrides of embedded `sqlite_crypt` function.
|
| | | |
|
| | |
| | |
| | | |
References: #581
|
| | | |
|
| | |
| | |
| | | |
References: #581
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Update goconvey profile
* Divided tests in categories
Reference #580
|
| | |
| | |
| | | |
Reference #580
|
| | |
| | |
| | | |
Reference: #580
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Update bindings
* Add user authentication sql functions
Reference #579
|
| | |
| | |
| | | |
[ci skip]
|
| | |
| | |
| | |
| | |
| | | |
* Renamed test
* Implemented 'exists' test
* WIP #580
|
| | |
| | |
| | |
| | |
| | | |
Implemented table check; only activate User Authentication on a database which has no UA enabled.
Closes #582
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* User Authentication Implementation
* Rename file to conform to fileformat `sqlite3_*_omit.go`
* Updated sqlite3-binding.* with new upgrade tool
* Add: callbackRetNil required for error type return because of adding `RegisterFunc`s directly on the connection.
* Add: TestCreateAuthDatabase
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Reformat code
* Add download for sqlite-src-*
* Add extract for sqlite source
* Add auto merge of UserAuth module into Amalgamation
|
|\ \ \
| |/ /
|/| | |
Add nil check in bind and a test
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Add: Reference to Spatialite
|
|/ /
| |
| |
| |
| | |
Closes #512
[ci ckip]
|