| Commit message (Expand) | Author | Age | Files | Lines |
| * | 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 |
| * | 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 |
| * | Fixes Execer/Queryer | mattn | 2013-09-09 | 1 | -16/+18 |
| * | Fixes test | mattn | 2013-09-09 | 1 | -1/+37 |
| * | Implements Execer | mattn | 2013-09-09 | 1 | -0/+21 |
| * | Fixes test | mattn | 2013-09-03 | 1 | -7/+2 |
| * | Add tests | mattn | 2013-09-03 | 1 | -0/+161 |
| * | Start work on introducing machine-readable error codes.•••This commit introduces a new type 'ErrNo', implementing the error
interface. Constants for all sqlite3 error codes are provided
in the new source file "error.go".
| Jochen Voss | 2013-08-13 | 1 | -1/+1 |
| * | Use file in os.TempDir() for tests.•••Sometimes it's best to not create files in the directories where code lives...
for example, that directory might be read-only, or folks might be using
source-control or build systems that disallow that behavior. To fix this, we
create a file in the temp directory and use it instead.
We don't use ioutil.TempFile(), since that actually creates the file, and we'd
like the tests to run as if the file had never existed. We use 16 bytes from
crypto/rand to avoid people doing bad things with symlinks in the temp
directory.
| Graeme Connell | 2013-05-09 | 1 | -16/+31 |
| * | Support more of the timestamp formats undestood by SQLite | Micah Stetson | 2012-12-29 | 1 | -5/+17 |
| * | Support time values with nanosecond precision | Micah Stetson | 2012-12-29 | 1 | -2/+2 |
| * | Refactor timestamp tests | Micah Stetson | 2012-12-29 | 1 | -177/+32 |
| * | Convert times to UTC before storage | Micah Stetson | 2012-12-29 | 1 | -2/+15 |
| * | Fix #33 and #34 | Micah Stetson | 2012-12-29 | 1 | -8/+8 |
| * | Add support for extracting `2006-01-02 15:04:05.000` formatted datetime. | Dobrosław Żybort | 2012-11-29 | 1 | -2/+70 |
| * | Add support for extracting 2006-01-02 formatted timestamps.•••SQLite3 stores timestamps very naively -- they're completely untyped,
and can contain any value. The previous implementation always inserts
values in the 'datetime' format, and returns an error when attempting to
extract a field with a different format.
Some legacy databases, unfortunately, were generated using the 'date'
SQLite3 function, which produces rows in the '2006-01-02' format. This
patch adds a special case so that these rows can be extracted without
error.
| lye | 2012-11-03 | 1 | -0/+60 |
| * | 'is' does not work in some older sqlite3. | mattn | 2012-09-12 | 1 | -2/+2 |
| * | Replace t.Error(); return statement pairs with single t.Fatal() | cds | 2012-09-11 | 1 | -104/+52 |
| * | Added missing db.Close() and rows.Close() calls; fixes tests on vmhgfs filesy...•••Individual tests were never successfully removing 'foo.db' (the error was ignored), which caused everything but the first test to fail on my vmhgfs filesystem. Adding the relevant defer db.Close() and rows.Close() calls fixed the leaks, enabling os.Remove() to work.
| cds | 2012-09-11 | 1 | -0/+9 |