aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix build failure on Windows/386Mura Li2018-10-241-1/+2
|/ / / | | | | | | | | | | | | The array size exceeds the address space of 32-bit platform. See https://github.com/mattn/go-sqlite3/issues/238
* | | Merge pull request #439 from typeless/add-unlock-notifymattn2018-10-215-5/+441
|\ \ \ | | | | | | | | Add support for sqlite3_unlock_notify
| * | | Rename the wrapper functions to not pollute the sqlite3_* namespaceMura Li2018-10-202-18/+18
| | | |
| * | | Add support for sqlite3_unlock_notifyMura Li2018-10-205-5/+441
|/ / /
* | | Merge pull request #616 from jung-kurt/patch-1mattn2018-10-151-0/+1
|\ \ \ | | | | | | | | Update README: URL-encode connection options
| * | | Update README: URL-encode connection optionsKurt Jung2018-08-121-0/+1
| | | | | | | | | | | | This change could save users from having to dig into source code to see how connection options are parsed.
* | | | Merge pull request #652 from rutsky/patch-1mattn2018-10-151-1/+1
|\ \ \ \ | | | | | | | | | | Remove extra backtick and fix Markdown formatting
| * | | | Remove extra backtick and fix Markdown formattingVladimir Rutsky2018-10-141-1/+1
| | | | |
* | | | | Merge pull request #648 from emirb/patch-1mattn2018-10-151-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add Go 1.11 to Travis build matrix
| * | | | Add Go 1.11 to Travis build matrixEmir Beganović2018-10-091-0/+1
| | | | |
* | | | | Merge pull request #650 from relud/patch-1mattn2018-10-131-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Fix typo in README.md
| * | | | Fix typo in README.mdDaniel Thorn2018-10-121-1/+1
|/ / / /
* | | | Merge pull request #645 from mattn/sqlite-amalgamation-3250200mattn2018-09-262-60/+88
|\ \ \ \ | | | | | | | | | | upgrade amalgamation code
| * | | | upgrade amalgamation codeYasuhiro Matsumoto2018-09-262-60/+88
|/ / / /
* | | | Merge pull request #641 from akalin/fix-test-callmattn2018-09-251-1/+4
|\ \ \ \ | |_|/ / |/| | | Actually check the value of RunTests
| * | | Add fatal messageFrederick Akalin2018-09-221-1/+1
| | | |
| * | | Actually check the value of RunTestsFrederick Akalin2018-09-221-1/+4
|/ / /
* | | Merge pull request #637 from mattn/fix-build2mattn2018-09-181-1/+1
|\ \ \ | | | | | | | | Fix build
| * | | Fix buildYasuhiro Matsumoto2018-09-181-1/+1
|/ / /
* | | Merge pull request #636 from mattn/fix-635mattn2018-09-183-7063/+14481
|\ \ \ | | | | | | | | Upgrade to SQLite 3.25.0
| * | | Upgrade to SQLite 3.25.0Yasuhiro Matsumoto2018-09-183-7063/+14481
|/ / / | | | | | | | | | Fixes #634, #635
* | | Merge pull request #633 from israel-lugo/patch-1mattn2018-09-161-4/+4
|\ \ \ | | | | | | | | Mention correct algorithm in function docs.
| * | | Mention correct algorithm in function docs.Israel G. Lugo2018-09-161-4/+4
|/ / / | | | | | | CryptEncoder SHA384 and SHA512 variants (with and without salt) were incorrectly documented as using SHA256.
* | | Merge pull request #631 from mattn/fix-buildmattn2018-09-112-2/+1
|\ \ \ | | | | | | | | Fix build
| * | | icu4c 62.1 already installedYasuhiro Matsumoto2018-09-111-1/+0
| | | |
| * | | Fix buildYasuhiro Matsumoto2018-09-111-1/+1
|/ / / | | | | | | | | | Related on #623
* | | Merge pull request #623 from graf0/feature/#619mattn2018-09-113-0/+102
|\ \ \ | |_|/ |/| | implementation of set_authorizer interface
| * | clearer const formattingGrzegorz Marszałek2018-08-301-8/+13
| | | | | | | | | | | | with comments what const are used for what
| * | implementation of set_authorizer interfaceGrzegorz Marszałek2018-08-253-3/+100
| |/
* | Merge pull request #621 from AndrewMurrell/mastermattn2018-08-241-6/+6
|\ \ | |/ |/| Update go doc comments to refer to correct interfaces.
| * Update go doc comments to refer to correct interfaces.AndrewMurrell2018-08-211-6/+6
|/ | | | | | 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.
* Ensure that SqliteStmt.closed property is guarded.Collin Van Dyck2018-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix typo in readmeIngve Vormestrand2018-07-021-1/+1
|
* fix/306Gert-Jan Timmer2018-06-283-28/+3
| | | | | * ppc * ppc64 * ppc64le
* fix/306Gert-Jan Timmer2018-06-282-0/+28
| | | | | | | Add: -lpthread for ppc / ppc64 Issue: #306 [ci ckip]
* Add: OpenBSDGert-Jan Timmer2018-06-132-0/+2
| | | Fixes #321
* Moved solaris flag from _other.go => _solaris.goGert-Jan Timmer2018-06-132-1/+1
|
* Merge pull request #592 from GJRTimmer/fix/test/coveragemattn2018-06-135-1242/+525
|\ | | | | fix/test/coverage
| * Add Tests for Crypt EncodersGert-Jan Timmer2018-06-122-1/+57
| | | | | | * Increase coverage
| * Rewrite Tests UserAuthGert-Jan Timmer2018-06-123-1241/+468
| | | | | | | | * Removed Goconvey * Fix coveralls.io
* | Merge pull request #596 from mattn/fix/travismattn2018-06-131-3/+1
|\ \ | | | | | | Update Travis-CI
| * | Update Travis-CIGert-Jan Timmer2018-06-121-3/+1
|/ / | | | | | | | | | | 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.
* | fix/511Gert-Jan Timmer2018-06-121-3/+8
| | | | | | | | | | Closes #511 [skip ci]
* | fix/209Gert-Jan Timmer2018-06-121-1/+19
|/ | | | | Closes #209 [skip ci]
* Use t.Skip for TestUpsert to be compliant with the actual cade base.Yoann Cerda2018-06-121-4/+1
|
* fix upsert log typos.Yoann Cerda2018-06-121-1/+3
|
* bump sqlite3 3.24.0 and add TestUpsert.Yoann Cerda2018-06-124-3469/+5729
|
* Merge pull request #591 from mattn/fix/118mattn2018-06-122-2/+51
|\ | | | | fix/118
| * fix/118Gert-Jan Timmer2018-06-122-2/+51
| | | | | | | | | | | | * Added TestMultiBlobs * Removed dead code Fixes #118
* | Merge pull request #574 from GJRTimmer/update/travismattn2018-06-122-60/+2
|\ \ | |/ |/| Follow official Release Policy