Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | Jochen Voss | 2013-08-13 | 1 | -1/+1 | |
| | | | | | | 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". | |||||
* | Use file in os.TempDir() for tests. | Graeme Connell | 2013-05-09 | 1 | -16/+31 | |
| | | | | | | | | | | | | 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. | |||||
* | 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. | lye | 2012-11-03 | 1 | -0/+60 | |
| | | | | | | | | | | | | 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. | |||||
* | '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 ↵ | cds | 2012-09-11 | 1 | -0/+9 | |
| | | | | | | filesystems. 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. | |||||
* | Fix erroneous error message for sql.Open() | cds | 2012-09-11 | 1 | -1/+1 | |
| | ||||||
* | gofmt + fix erroneous t.Errorf("foo:", err) statements to t.Error("foo:", err) . | cds | 2012-09-11 | 1 | -80/+77 | |
| | | | | | | | | | | Original: --- FAIL: TestInsert (0.00 seconds) sqlite3_test.go:42: Failed to create table:%!(EXTRA *errors.errorString=unable to open database file) With corrections: --- FAIL: TestInsert (0.00 seconds) sqlite3_test.go:42: Failed to create table: unable to open database file | |||||
* | Update sqlite3_test.go | jander | 2012-05-27 | 1 | -1/+0 | |
| | ||||||
* | Update sqlite3_test.go | jander | 2012-05-27 | 1 | -1/+2 | |
| | ||||||
* | fix TestBoolean | jander | 2012-05-27 | 1 | -18/+44 | |
| | ||||||
* | add bool type test: TestBoolean | jander | 2012-05-25 | 1 | -0/+81 | |
| | ||||||
* | Handle time.Time values with "timestamp" columns. | John Gallagher | 2012-04-07 | 1 | -0/+79 | |
| | ||||||
* | Fix typo (Tailed -> Failed). | John Gallagher | 2012-04-06 | 1 | -1/+1 | |
| | ||||||
* | merged bradfitz's patch. thanks. | mattn | 2012-02-20 | 1 | -1/+1 | |
| | ||||||
* | Added additional testcase for boolean roundtrips | lye | 2012-02-06 | 1 | -0/+51 | |
| | | | | | This test creates a simple table, inserts some dummy boolean values, then pulls them back out to ensure they are marshalled correctly. | |||||
* | fixed package name. | mattn | 2012-01-25 | 1 | -1/+1 | |
| | ||||||
* | gofix. | mattn | 2011-12-07 | 1 | -2/+2 | |
| | ||||||
* | fix LastInsertId()/RowsAffected(). | mattn | 2011-11-15 | 1 | -13/+77 | |
| | ||||||
* | fix test. | mattn | 2011-11-15 | 1 | -9/+13 | |
| | ||||||
* | simple test. | mattn | 2011-11-13 | 1 | -0/+143 | |