| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge pull request #549 from mjtrangoni/fix-linter-issues•••Fix linter issues | mattn | 2018-04-17 | 1 | -7/+4 |
| |\ |
|
| | * | fix small codespell issue | Mario Trangoni | 2018-04-17 | 1 | -1/+1 |
| | * | fix all gosimple issues | Mario Trangoni | 2018-04-17 | 1 | -6/+3 |
| * | | Move RegisterAggregator implementation•••The SQLiteConn.RegisterAggregator implementation was defined in
sqlite3_trace.go file, which is guarded with a build constraint. This
change simply moves RegisterAggregator to the main sqlite3.go file,
and moves accompanying unit tests.
The rationale for this move is that it was not possible for downstream
using packages to use RegisterAggregator without also specifying (and
notifying the user) the 'trace' build tag.
| Kenneth Shaw | 2017-11-05 | 1 | -0/+60 |
| * | | Merge branch 'master' into master | mattn | 2017-08-30 | 1 | -14/+568 |
| |\| |
|
| | * | Improved TestNilAndEmptyBytes•••I forgot that bytes.Equals treats nil and []byte{} as equal.
| Greg Holt | 2017-08-21 | 1 | -1/+3 |
| | * | Added TestNilAndEmptyBytes | Greg Holt | 2017-08-21 | 1 | -0/+54 |
| | * | fix test | Yasuhiro Matsumoto | 2017-08-02 | 1 | -34/+35 |
| | * | ignore errors in teardown | Yasuhiro Matsumoto | 2017-08-02 | 1 | -2/+2 |
| | * | fix tests on tip | Yasuhiro Matsumoto | 2017-08-02 | 1 | -14/+420 |
| | * | Add connection option for recursive triggers•••Similar to foreign keys, the recursive triggers PRAGMA affects the
interpretation of all statements on a connection.
| Ross Light | 2017-07-09 | 1 | -0/+29 |
| | * | Incorporate original PR 271 from https://github.com/brokensandals | Jason Abbott | 2017-07-03 | 1 | -0/+61 |
| | * | Don't convert Unix times to nanoseconds when querying datetime fields. Fixes ... | deepilla | 2017-06-30 | 1 | -0/+1 |
| * | | Add support for collation sequences implemented in Go.•••This allows Go programs to register custom comparison functions with
sqlite, and ORDER BY that comparator.
| David Anderson | 2017-06-08 | 1 | -0/+121 |
| |/ |
|
| * | Add _foreign_keys connection parameter•••Fixes #377
Updates #255
| Ross Light | 2017-04-01 | 1 | -0/+29 |
| * | not use underscore | Yasuhiro Matsumoto | 2017-03-05 | 1 | -2/+2 |
| * | fix test | Yasuhiro Matsumoto | 2017-01-19 | 1 | -60/+0 |
| * | go vet && golint | Yasuhiro Matsumoto | 2016-11-06 | 1 | -21/+21 |
| * | separate test | Yasuhiro Matsumoto | 2016-11-04 | 1 | -36/+0 |
| * | support named params | Yasuhiro Matsumoto | 2016-11-04 | 1 | -3/+3 |
| * | implement go18 Pinger | Yasuhiro Matsumoto | 2016-11-03 | 1 | -0/+16 |
| * | TestAggregatorRegistration may fail if trace feature is not implemented | Yasuhiro Matsumoto | 2016-09-08 | 1 | -1/+2 |
| * | Fix testing message at TestInsert and TestUpdate | yoza | 2016-03-14 | 1 | -2/+2 |
| * | Test SQLiteRows.DeclTypes() | Zac Medico | 2016-03-07 | 1 | -0/+35 |
| * | Clean up tempfiles in tests•••"go test" leaves no more clutter in /tmp.
| Lars Buitinck | 2015-11-03 | 1 | -21/+21 |
| * | Merge branch 'master' of https://github.com/mattn/go-sqlite3 | Yasuhiro Matsumoto | 2015-11-02 | 1 | -3/+23 |
| |\ |
|
| | * | Store/retrieve timezones for time.Time values.•••Previously, the timezone information for a provided value was discarded
and the value always stored as in UTC. However, sqlite allows specifying
the timezone offsets and handles those values appropriately. This change
stores the timezone information and parses it out if present, otherwise
it defaults to UTC as before.
One additional bugfix: Previously, a unix timestamp in seconds was
parsed in the local timezone (rather than UTC), in contrast to a unix
timestamp in milliseconds that was parsed in UTC.
While fixing that extra bug, I cleaned up the parsing code -- no need to
convert to a string and then parse it back again and risk a parse error,
just to check the number of digits.
The tests were extended to cover non-UTC timezones storage & retrieval,
meaningful unix timestamps, and correct handling of a trailing Z.
| Augusto Roman | 2015-10-09 | 1 | -3/+23 |
| * | | fix tests | Yasuhiro Matsumoto | 2015-11-02 | 1 | -2/+1 |
| * | | Merge branch 'pr/207' | Yasuhiro Matsumoto | 2015-11-02 | 1 | -26/+50 |
| |\ \
| |/
|/| |
|
| | * | Test read-only databases | Lars Buitinck | 2015-06-05 | 1 | -0/+21 |
| | * | Clean up more tempfiles | Lars Buitinck | 2015-06-05 | 1 | -0/+1 |
| | * | Get reliable tempfile names from ioutil.TempFile•••Also makes them easier to spot (the tests tend to litter /tmp).
| Lars Buitinck | 2015-06-05 | 1 | -27/+28 |
| * | | Merge pull request #229 from danderson/master•••Implement support for calling Go functions from SQLite | mattn | 2015-09-16 | 1 | -0/+212 |
| |\ \ |
|
| | * | | Implement support for aggregation functions implemented in Go. | David Anderson | 2015-09-15 | 1 | -0/+59 |
| | * | | Add support for interface{} arguments in Go SQLite functions.•••This enabled support for functions like Foo(a interface{}) and
Bar(a ...interface{}).
| David Anderson | 2015-08-21 | 1 | -0/+28 |
| | * | | Implement support for variadic functions.•••Currently, the variadic part must all be the same type, because there's
no "generic" arg converter.
| David Anderson | 2015-08-21 | 1 | -0/+13 |
| | * | | Move argument converters to callback.go, and optimize return value handling.•••A call now doesn't have to do any reflection, it just blindly invokes
a bunch of argument and return value handlers to execute the translation,
and the safety of the translation is determined at registration time.
| David Anderson | 2015-08-21 | 1 | -47/+51 |
| | * | | Implement support for passing Go functions as custom functions to SQLite.•••Fixes #226.
| David Anderson | 2015-08-21 | 1 | -0/+108 |
| | |/ |
|
| * / | Fix test. Close #216•••When one goroutine close db that opended as :memory:, session
will be lost. So another goroutine can't refer the last session.
goroutine .
| mattn | 2015-08-25 | 1 | -1/+3 |
| |/ |
|
| * | Remove debug code | Yasuhiro Matsumoto | 2015-04-15 | 1 | -2/+0 |
| * | Z suffix should be no-op | Yasuhiro Matsumoto | 2015-04-15 | 1 | -1/+41 |
| * | Merge pull request #194 from hallyn/tximm.2•••Add a txlock option when opening databases | mattn | 2015-04-14 | 1 | -5/+39 |
| |\ |
|
| | * | Add a txlock option when opening databases (v2)•••When specified, changes the default locking at a tx.Begin.
Changelog (v2):
Add a testcase to ensure _txlock is properly handled.
Closes #189
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
| Serge Hallyn | 2015-04-13 | 1 | -5/+39 |
| * | | Fix NULs in text.•••NUL character is a valid symbols in UTF8.
Fixes #195
| Egon Elbre | 2015-04-12 | 1 | -0/+39 |
| |/ |
|
| * | Implement number-named parameters. Close #187 | mattn | 2015-03-24 | 1 | -0/+36 |
| * | Revert a6c208564eccf3c6743f608ef88398a4ca84c5eb | mattn | 2015-03-22 | 1 | -36/+0 |
| * | Fix build | mattn | 2015-03-22 | 1 | -3/+3 |
| * | Fix test | mattn | 2015-03-22 | 1 | -1/+1 |
| * | Support $NNN-style named parameter. Close #187 | mattn | 2015-03-22 | 1 | -0/+36 |
| * | Fix test | Yasuhiro Matsumoto | 2015-03-05 | 1 | -3/+3 |