| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 | Lars Buitinck | 2015-11-03 | 1 | -21/+21 |
| | | | | | "go test" leaves no more clutter in /tmp. | ||||
| * | 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. | Augusto Roman | 2015-10-09 | 1 | -3/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | 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 | Lars Buitinck | 2015-06-05 | 1 | -27/+28 |
| | | | | | | | | | Also makes them easier to spot (the tests tend to litter /tmp). | ||||
| * | | Merge pull request #229 from danderson/master | mattn | 2015-09-16 | 1 | -0/+212 |
| |\ \ | | | | | | | Implement support for calling Go functions from SQLite | ||||
| | * | | 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. | David Anderson | 2015-08-21 | 1 | -0/+28 |
| | | | | | | | | | | | | | | | | This enabled support for functions like Foo(a interface{}) and Bar(a ...interface{}). | ||||
| | * | | Implement support for variadic functions. | David Anderson | 2015-08-21 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | Currently, the variadic part must all be the same type, because there's no "generic" arg converter. | ||||
| | * | | Move argument converters to callback.go, and optimize return value handling. | David Anderson | 2015-08-21 | 1 | -47/+51 |
| | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | | Implement support for passing Go functions as custom functions to SQLite. | David Anderson | 2015-08-21 | 1 | -0/+108 |
| | |/ | | | | | | | Fixes #226. | ||||
| * / | Fix test. Close #216 | mattn | 2015-08-25 | 1 | -1/+3 |
| |/ | | | | | | When one goroutine close db that opended as :memory:, session will be lost. So another goroutine can't refer the last session. goroutine . | ||||
| * | 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 | mattn | 2015-04-14 | 1 | -5/+39 |
| |\ | | | | | Add a txlock option when opening databases | ||||
| | * | Add a txlock option when opening databases (v2) | Serge Hallyn | 2015-04-13 | 1 | -5/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
| * | | Fix NULs in text. | Egon Elbre | 2015-04-12 | 1 | -0/+39 |
| |/ | | | | | | NUL character is a valid symbols in UTF8. Fixes #195 | ||||
| * | 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 |
| | | |||||
| * | Remove test dup | Yasuhiro Matsumoto | 2015-03-05 | 1 | -96/+0 |
| | | |||||
| * | Fix loc parsing | mix3 | 2015-03-05 | 1 | -2/+2 |
| | | |||||
| * | Add test | mix3 | 2015-03-05 | 1 | -0/+96 |
| | | |||||
| * | Add test | Yasuhiro Matsumoto | 2015-03-05 | 1 | -0/+97 |
| | | |||||
| * | Fixed bug for loc parameter | mattn | 2015-03-05 | 1 | -10/+7 |
| | | |||||
| * | Add loc=XXX parameters to handle timezone | Yasuhiro Matsumoto | 2015-03-04 | 1 | -0/+65 |
| | | |||||
| * | Fix test | mattn | 2015-01-26 | 1 | -1/+1 |
| | | |||||
| * | Fix test | mattn | 2015-01-26 | 1 | -1/+1 |
| | | |||||
| * | Add test for Version | mattn | 2015-01-26 | 1 | -0/+7 |
| | | |||||
| * | Handle 13 digit datetime values | Ian Bishop | 2015-01-02 | 1 | -0/+1 |
| | | |||||
| * | Fix for sqlite3_test import. | Paweł Błaszczyk | 2014-08-20 | 1 | -1/+1 |
| | | |||||
| * | Add one blank line for godoc | mattn | 2014-08-18 | 1 | -0/+1 |
| | | |||||
| * | Add license header | mattn | 2014-08-18 | 1 | -0/+4 |
| | | |||||
| * | Add TestStress | mattn | 2014-07-16 | 1 | -0/+37 |
| | | |||||
| * | Rename | mattn | 2014-07-04 | 1 | -2/+2 |
| | | |||||
| * | Rename | mattn | 2014-07-04 | 1 | -1/+1 |
| | | |||||
| * | Enable test for Queryer | mattn | 2014-06-26 | 1 | -40/+40 |
| | | |||||
| * | Fix error on Execer. Close #124 | mattn | 2014-06-26 | 1 | -24/+22 |
| | | |||||
| * | Add benchmark tests. As used by other database/sql drivers. | Tim O'Brien | 2013-09-18 | 1 | -0/+11 |
| | | |||||
| * | add new test for WAL journal_mode | David Hill | 2013-09-12 | 1 | -1/+46 |
| | | |||||
| * | Disable Execer/Queryer until database/sql/driver implement QueryRow: #82 | mattn | 2013-09-12 | 1 | -63/+65 |
| | | |||||
| * | Fixes test | mattn | 2013-09-09 | 1 | -5/+11 |
| | | |||||
