aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update expected test outputPhilip O'Toole2022-10-261-1/+1
| | | | Broken in https://github.com/mattn/go-sqlite3/pull/1085
* Update amalgamation codeYasuhiro Matsumoto2022-10-262-108/+205
|
* Updating vtable example, "BestIndex" method (#1099)David Vassallo2022-10-181-1/+6
| | | | | | | 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 constraints will not result in errors Signed-off-by: David Vassallo <davevassallo@gmail.com> Signed-off-by: David Vassallo <davevassallo@gmail.com>
* Update README.md to include vtable feature (#1100)David Vassallo2022-10-181-0/+1
| | | Added documentation for sqlite_vtable build tag to the README.
* Cross Compiling for Mac OS via `musl-cross`Luca Guidi2022-09-181-5/+4
| | | | | | | | | | | | | # Enhancement Update `README.md` with new instructions for Mac OS cross compiling. # Why? The current suggested solution `xgo` is no longer maintained (GitHub archived repository). # Credits Credits go to Pieter Claerhout (@pieterclaerhout) and his blog post: https://www.yellowduck.be/posts/cross-compile-a-go-package-which-uses-sqlite3
* Golang's linker add mingwex and mingw32 automatically,so we don't need add ↵kkqy2022-09-181-1/+0
| | | | them manually.
* Add support for sqlite_math_functions tag (#1059)Levi Gruspe2022-09-174-2/+46
| | | | | Add support for SQLITE_ENABLE_MATH_FUNCTIONS compile-time option via the sqlite_math_functions build tag. Co-authored-by: Dominik Kraus <dominik.kraus@nktek.de>
* こんにちわ is wrong Japanse. The correct word is こんにちはKiYugadgeter2022-09-043-3/+3
|
* Fix "ennviroment" (#1077)RewardedIvan2022-09-011-1/+1
| | | Fix typo in README
* Rollback on constraint failure (#1071)Joshua Hull2022-09-012-2/+41
| | | Always rollback on a commit error
* Fix TestQueryer test to use exec for multistatement insertionJoshua Hull2022-09-021-10/+18
|
* Fix TestQueryer testJoshua Hull2022-09-021-1/+1
|
* Update README to fix reference URLYoshiki Shibukawa2022-09-011-1/+1
| | | R.I.P. godoc.org
* TestQueryer: actually check Rows returnedOliver Giles2022-08-161-10/+12
| | | | | Fixes a test which did not correctly exercise the multi-statement Queryer functionality
* Add build tag to enable OSTRACE() loggingBen Johnson2022-08-163-1/+17
| | | | | | | This commit adds the `sqlite_os_trace` build tag which sets the `SQLITE_FORCE_OS_TRACE` and `SQLITE_DEBUG_OS_TRACE` compilation flags. This produces verbose debugging output of every operating system call made by SQLite.
* Update amalgamation codeYasuhiro Matsumoto2022-08-163-3513/+5717
|
* Retract +incompatible releasesBryan C. Mills2022-08-161-1/+5
| | | | | | | (For #965.) This retraction will take effect when this commit is included in the latest v1 release (presumably v1.14.11).
* Update supported Go version to Go 1.19Aoang2022-08-151-2/+2
|
* Support returning any from callbacks (#1046)Phil Eaton2022-05-293-0/+88
| | | Support returning any from callbacks
* Add error checking in simple example for tx.CommitKristóf Havasi2022-05-281-1/+4
| | | | Based on https://golang.org/pkg/database/sql/#Tx.Commit this function returns an error type. So why not check it.
* Update _example/simple/Dockerfilemattn2022-05-181-1/+1
|
* feat: simple example of Dockerfile w/ multi-stage buildKEINOS2022-05-182-0/+67
|
* Update amalgamation codeYasuhiro Matsumoto2022-05-133-152/+354
|
* Update .github/workflows/go.yamlmattn2022-05-131-1/+1
|
* Update supported Golang version to Go 1.18Aoang2022-05-131-3/+3
|
* Update sqlite3_opt_preupdate_omit.goCorey Butler2022-04-231-1/+1
|
* Update sqlite3_opt_preupdate_hook.goCorey Butler2022-04-231-1/+1
|
* Update amalgamationPhil Eaton2022-02-283-3850/+5985
|
* Add sqlite3_file_control() supportBen Johnson2022-01-292-0/+108
| | | | | | | This commit adds the SQLiteConn.FileControlInt() method which calls the underlying sqlite3_file_control() function with an int argument. This can be used for low-level operations on SQLite databases such as persisting the WAL file after database close.
* Add example using driverNameYasuhiro Matsumoto2022-01-102-0/+25
|
* Add driverName to be possible change driver nameYasuhiro Matsumoto2022-01-101-1/+8
|
* Temporary disable test for dropping vtableYasuhiro Matsumoto2021-12-291-1/+2
|
* Update amalgamation codeYasuhiro Matsumoto2021-12-293-6384/+8453
|
* Fix GitHub workflowsYasuhiro Matsumoto2021-10-261-1/+1
|
* Do no test with go-acc on Windows (#980)mattn2021-10-261-9/+4
| | | Currently, no way to fix failing
* Add go.mod and go.sum for upgrade (#978)mattn2021-10-263-11/+37
| | | | | * Add go.mod and go.sum for upgrade * Fix upgrade tools to have to run on upgrade directory
* Drop old versions (#979)mattn2021-10-261-1/+1
|
* Adds CIFuzz for fuzzing as continuous integration (#919)Catena cyber2021-10-261-0/+29
|
* sqlite3_test.go: Fix go test -run=...: Use standard sub-tests (#881)Evan Jones2021-10-261-22/+38
| | | | | | | | | | | Selecting only some tests with go test -run=... does not work, because some of the tests are executed using testing.RunTests(). That function is documented as "an internal function". This changes TestSuite to use the testing subtests feature instead. This has a behaviour change: the benchmarks now need to be selected at the command line with the standard go test -bench=. flag. This will also set up the test database twice when running benchmarks, rather than once.
* change angle bracket import to quotes (#868)Hanzhen Yi2021-10-2613-13/+13
|
* Update SQLite3_ The columntypescantype method of type (#909)Auler2021-10-261-22/+68
| | | | | | | | | | | | | | | | * sqlite3_type update The main reason for this change is that the original reflected values are nil. I found that there was no good mapping when dealing with the code here * Update sqlite3_type.go Update 'ColumnTypeScanType' method, Different types of mapping values * Restore copyright * Update go.mod * Update go.mod
* fix idxStr freeing issue (#898)Patrick DeVivo2021-10-261-4/+15
| | | uses snippet suggested by @rittneje https://github.com/mattn/go-sqlite3/issues/897#issuecomment-752162125
* Use single-quotes around string literals. (#934)Michael Hofmann2021-10-261-10/+10
|
* sqlite3.go: use PRAGMA to set busy_timeout (#910)Dan Peterson2021-10-261-6/+6
| | | | | | | | | | The busy_timeout pragma was added in sqlite 3.7.15 as an alternative to calling sqlite3_busy_timeout directly: https://sqlite.org/pragma.html#pragma_busy_timeout While there's no functional change here, using the pragma does align setting busy_timeout with other settings and removes the special case for calling sqlite3_busy_timeout directly.
* Test on 1.17Yasuhiro Matsumoto2021-10-261-1/+1
|
* run tests against Go 1.16 (#967)Harry2021-10-261-2/+2
|
* Fix typo in README.md (#939)Ikko Ashimine2021-10-260-0/+0
| | | seperated -> separated
* Resolve windows CI issues (#941)hackerman2021-10-261-1/+1
| | | Do not use `-u` flag when fetching go-acc
* Allow building on OpenBSD (#976)Denis Fondras2021-10-261-0/+2
|
* chore: readme: Fix link, typos, copy editing (#974)Ross Smith II2021-10-221-56/+55
| | | | | | | * chore: readme: Fix link, typos, copy editing Also closes #914, #939. * Update README.md