| Commit message (Expand) | Author | Age | Files | Lines |
| * | Fix misspell issues.•••See,
$ gometalinter --vendor --disable-all --enable=misspell ./...
sqlite3.go:1379:45:warning: "succesfully" is a misspelling of "successfully" (misspell)
sqlite3.go:1390:30:warning: "registerd" is a misspelling of "registered" (misspell)
sqlite3_func_crypt.go:16:27:warning: "ceasar" is a misspelling of "caesar" (misspell)
sqlite3_func_crypt.go:43:59:warning: "Ceasar" is a misspelling of "Caesar" (misspell)
sqlite3_opt_userauth_test.go:450:27:warning: "succesful" is a misspelling of "successful" (misspell)
sqlite3_opt_userauth_test.go:456:27:warning: "succesful" is a misspelling of "successful" (misspell)
| Mario Trangoni | 2018-11-21 | 1 | -2/+2 |
| * | all: fix cgo compile failures on tip•••Apparently the cgo typechecks get better on tip, so use C.int instead
of Go integers.
Build tip as part of the Travis build, so we can ensure that any
errors are resolved before they get released to a wider audience.
| Kevin Burke | 2018-11-01 | 1 | -2/+2 |
| * | Rename the wrapper functions to not pollute the sqlite3_* namespace | Mura Li | 2018-10-20 | 1 | -15/+15 |
| * | Add support for sqlite3_unlock_notify | Mura Li | 2018-10-20 | 1 | -4/+41 |
| * | Fix build•••Related on #623
| Yasuhiro Matsumoto | 2018-09-11 | 1 | -1/+1 |
| * | Merge pull request #623 from graf0/feature/#619•••implementation of set_authorizer interface | mattn | 2018-09-11 | 1 | -0/+55 |
| |\ |
|
| | * | clearer const formatting•••with comments what const are used for what
| Grzegorz Marszałek | 2018-08-30 | 1 | -8/+13 |
| | * | implementation of set_authorizer interface | Grzegorz Marszałek | 2018-08-25 | 1 | -3/+53 |
| * | | 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.
| AndrewMurrell | 2018-08-21 | 1 | -6/+6 |
| |/ |
|
| * | Ensure that SqliteStmt.closed property is guarded.•••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.
| Collin Van Dyck | 2018-07-19 | 1 | -2/+2 |
| * | fix/118•••* Added TestMultiBlobs
* Removed dead code
Fixes #118 | Gert-Jan Timmer | 2018-06-12 | 1 | -2/+0 |
| * | Adds GetFilename (sqlite3_db_filename) to SqliteConn | Zachary Gramana | 2018-06-12 | 1 | -0/+11 |
| * | Merge pull request #586 from mattn/feature/userauth•••Feature/userauth | mattn | 2018-06-08 | 1 | -2/+185 |
| |\ |
|
| | * | ADD: User Authentication Password Encoders•••Allow user to choose how to encode passwords with connection string overrides of embedded `sqlite_crypt` function. | Gert-Jan Timmer | 2018-06-05 | 1 | -0/+58 |
| | * | Implemented goconvey for User Authentication Tests•••Reference #580 | Gert-Jan Timmer | 2018-06-04 | 1 | -5/+5 |
| | * | Update User Authentication•••* Update bindings
* Add user authentication sql functions
Reference #579 | Gert-Jan Timmer | 2018-06-01 | 1 | -12/+18 |
| | * | Stash•••[ci skip] | Gert-Jan Timmer | 2018-05-31 | 1 | -4/+4 |
| | * | UPD: User Authentication•••Implemented table check; only activate User Authentication on a database which has no UA enabled.
Closes #582 | Gert-Jan Timmer | 2018-05-31 | 1 | -8/+2 |
| | * | ADD: User authentication•••* 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
| Gert-Jan Timmer | 2018-05-30 | 1 | -2/+127 |
| * | | Add nil check in bind and a test | Lucas Manuel Rodriguez | 2018-05-30 | 1 | -4/+8 |
| |/ |
|
| * | Fix: Display of secure_delete error message | Gert-Jan Timmer | 2018-05-29 | 1 | -1/+1 |
| * | Fix: Condition of queryOnly Variable | Gert-Jan Timmer | 2018-05-29 | 1 | -1/+1 |
| * | Fix: Connection DSN Keys•••* Conform keys to match PRAGMA
* UPD: README
* Fix error of _auto_vacuum
* Fix error of _case_sensitive_like
* Fix error of _locking_mode
* Fix error of _secure_delete | Gert-Jan Timmer | 2018-05-29 | 1 | -11/+40 |
| * | ADD: PRAGMA writable_schema | Gert-Jan Timmer | 2018-05-29 | 1 | -4/+35 |
| * | ADD: PRAGMA synchronous | Gert-Jan Timmer | 2018-05-29 | 1 | -1/+40 |
| * | Add: PRAGMA secure_delete•••ADD: Connection PRAGMA
ADD: Build tag for secure_delete mode: FAST | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+34 |
| * | ADD: PRAGMA query_only | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+27 |
| * | Add: Documentation for opening as Immutable | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+9 |
| * | ADD: PRAGMA locking_mode | Gert-Jan Timmer | 2018-05-29 | 1 | -1/+28 |
| * | ADD: PRAGMA journal_mode | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+25 |
| * | Fix: String ToLower for PRAGMA's | Gert-Jan Timmer | 2018-05-29 | 1 | -4/+5 |
| * | Update README•••ADD: Comments for SQLite Access Mode
ADD: Comments for SQLite Shared-Cache Mode
UPD: README
* Add Access Mode in Connection String Table | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+17 |
| * | ADD: Additional Copyright line | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+1 |
| * | Update Comments | Gert-Jan Timmer | 2018-05-29 | 1 | -3/+3 |
| * | ADD: PRAGMA ignore_check_constraints | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+28 |
| * | Update Comments | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+1 |
| * | ADD: PRAGMA defer_foreign_keys | Gert-Jan Timmer | 2018-05-29 | 1 | -0/+34 |
| * | Update Recursive Triggers•••ADD: Multiple Key | Gert-Jan Timmer | 2018-05-29 | 1 | -1/+8 |
| * | Fix: pkey•••Ensure pkey is empty for next condition | Gert-Jan Timmer | 2018-05-29 | 1 | -3/+5 |
| * | Update Foreign Keys PRAGMA•••ADD: Multiple key | Gert-Jan Timmer | 2018-05-29 | 1 | -4/+9 |
| * | Update Busy Timeout PRAGMA•••ADD: multiple key | Gert-Jan Timmer | 2018-05-29 | 1 | -1/+10 |
| * | ADD: PRAGMA case_sensitive_like•••ADD: Comments
UPD: README | Gert-Jan Timmer | 2018-05-29 | 1 | -8/+47 |
| * | Update Connection Options•••* Rewrite order of options
* ADD: PRAGMA auto_vacuum
* ADD: Multi Boolean values
* UPD: README
* FIX: Case-Sensitive values
* Reduced code for:
- foreign_keys
- recursive_triggers | Gert-Jan Timmer | 2018-05-29 | 1 | -42/+81 |
| * | fmt update•••Fix: Placed all +build tags in the same location
Fix: Split CFLAGS, LDFLAGS into seperate lines for readability and lookup
Fix: Placed empty line between copyright comments and build tags for readability
Fix: Placed OS specfic cgo flags at the end if the cgo sections contains multiple lines. | Gert-Jan Timmer | 2018-05-27 | 1 | -5/+9 |
| * | Merge branch 'master' into fix/wal | mattn | 2018-05-24 | 1 | -0/+2 |
| |\ |
|
| | * | Merge pull request #564 from GJRTimmer/fix/213•••Fix #213 | mattn | 2018-05-24 | 1 | -0/+1 |
| | |\ |
|
| | | * | ADD: SQLITE_ENABLE_UPDATE_DELETE_LIMIT•••Fixes #213 | Gert-Jan Timmer | 2018-05-23 | 1 | -0/+1 |
| | * | | ADD: SQLITE_OMIT_DEPRECATED | Gert-Jan Timmer | 2018-05-23 | 1 | -0/+1 |
| | |/ |
|
| * / | ADD: SQLITE_DEFAULT_WAL_SYNCHRONOUS | Gert-Jan Timmer | 2018-05-23 | 1 | -0/+1 |
| |/ |
|
| * | Merge pull request #540 from mattn/open-mode•••add _mutex flag to specify SQLITE_OPEN_NOMUTEX or SQLITE_OPEN_FULLMUTEX | mattn | 2018-04-19 | 1 | -3/+16 |
| |\ |
|