| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fixes package name | mattn | 2013-08-13 | 1 | -1/+1 | |
| | | ||||||
| * | Start work on introducing machine-readable error codes. | Jochen Voss | 2013-08-13 | 1 | -11/+15 | |
| | | | | | | | 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". | |||||
| * | call sqlite3_column_blob() before sqlite3_column_bytes() | David Hill | 2013-08-02 | 1 | -1/+1 | |
| | | | | | | | | | sqlite3 documentation states sqlite3_column_blob could modify the the content and recommends the "safest and easiest" policy is to invoke sqlite3_column_blob() followed by sqlite3_column_bytes() from: http://www.sqlite.org/c3ref/column_blob.html | |||||
| * | go fmt | mattn | 2013-05-11 | 1 | -2/+2 | |
| | | ||||||
| * | the SQLiteResult refers to the connection after it should no longer be ↵ | Russ Cox | 2013-05-11 | 1 | -4/+10 | |
| | | | | | referring to the connection. The fix is to fetch the answers before Exec returns, just in case someone wants them. | |||||
| * | Treat int as 64bit | mattn | 2013-04-09 | 1 | -1/+1 | |
| | | ||||||
| * | Add int32 type, close #55 | mattn | 2013-04-08 | 1 | -0/+2 | |
| | | ||||||
| * | Fix #54 | mattn | 2013-04-06 | 1 | -0/+8 | |
| | | ||||||
| * | Fixed #37 | mattn | 2013-02-13 | 1 | -1/+4 | |
| | | ||||||
| * | Some older version of sqlite3 does not have SQLITE_OPEN_URI. | mattn | 2013-02-03 | 1 | -3/+11 | |
| | | ||||||
| * | Add comments. | mattn | 2013-01-31 | 1 | -18/+44 | |
| | | ||||||
| * | add flag SQLITE_OPEN_URI to open. closes #38 | mattn | 2013-01-29 | 1 | -1/+2 | |
| | | ||||||
| * | Support more of the timestamp formats undestood by SQLite | Micah Stetson | 2012-12-29 | 1 | -0/+4 | |
| | | ||||||
| * | Support time values with nanosecond precision | Micah Stetson | 2012-12-29 | 1 | -13/+14 | |
| | | ||||||
| * | Convert times to UTC before storage | Micah Stetson | 2012-12-29 | 1 | -1/+1 | |
| | | ||||||
| * | Fix #33 and #34 | Micah Stetson | 2012-12-29 | 1 | -15/+15 | |
| | | ||||||
| * | check destination type whether it's *time.Time or not. | mattn | 2012-12-26 | 1 | -7/+14 | |
| | | ||||||
| * | No return error when invalid datetime. | mattn | 2012-12-26 | 1 | -1/+1 | |
| | | ||||||
| * | fixed last_id/changes. it seems long alignment values. | mattn | 2012-12-07 | 1 | -4/+16 | |
| | | ||||||
| * | Add support for extracting `2006-01-02 15:04:05.000` formatted datetime. | Dobrosław Żybort | 2012-11-29 | 1 | -2/+6 | |
| | | ||||||
| * | Add support for extracting 2006-01-02 formatted timestamps. | lye | 2012-11-03 | 1 | -1/+5 | |
| | | | | | | | | | | | | | 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. | |||||
| * | Modified for windows support. | Carlos Castillo | 2012-10-27 | 1 | -2/+0 | |
| | | ||||||
| * | Fix read of invalid (already freed) memory. | John Gallagher | 2012-10-15 | 1 | -1/+1 | |
| | | ||||||
| * | workaround on windows. currently, int64 does not work correctly. | mattn | 2012-09-12 | 1 | -1/+3 | |
| | | ||||||
| * | gofmt + fix erroneous t.Errorf("foo:", err) statements to t.Error("foo:", err) . | cds | 2012-09-11 | 1 | -2/+2 | |
| | | | | | | | | | | | 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 | |||||
| * | bug fix: Byte slices belong to the caller and so must be copies. | Thomas Leske | 2012-08-20 | 1 | -1/+8 | |
| | | | | | | With the exeption of slices in the result type sql.RawBytes, new calls to Sqlite must not corrupt slices. | |||||
| * | Handle bool values with "BOOLEAN" columns. | jander | 2012-05-25 | 1 | -2/+5 | |
| | | ||||||
| * | Increase busy timeout to 5 seconds. | John Gallagher | 2012-04-07 | 1 | -1/+1 | |
| | | | | | | 500ms is short enough that go-sql-test sometimes fails with "database locked", and it's the value used by Python's sqlite3 driver. | |||||
| * | Handle time.Time values with "timestamp" columns. | John Gallagher | 2012-04-07 | 1 | -6/+36 | |
| | | ||||||
| * | merged #11 | mattn | 2012-03-12 | 1 | -2/+12 | |
| | | | | | close #11 | |||||
| * | database/sql expects io.EOF after all rows have been Next'ed | Sven Engelhardt | 2012-03-02 | 1 | -1/+5 | |
| | | | | | | Return io.EOF, so rows.Next() will automatically call rows.Close() after all results have been returned. | |||||
| * | merged bradfitz's patch. thanks. | mattn | 2012-02-20 | 1 | -11/+15 | |
| | | ||||||
| * | For boolean values, marshal true to SQLite 1, not -1 | lye | 2012-02-06 | 1 | -1/+1 | |
| | | | | | | | | | | SQLite stores boolean values as an integer, serializing true as 1 and false as 0 [1], but it does not actually enforce this range. To match the documentation (and fix the broken test case), this patch makes a Go boolean true serialize properly to 1. [1] http://www.sqlite.org/datatype3.html | |||||
| * | Fixing build at tip | Scott Lawrence | 2012-01-20 | 1 | -2/+2 | |
| | | ||||||
| * | Fixed double free when closing SQLiteStmt | Alien Science | 2012-01-19 | 1 | -4/+0 | |
| | | | | | | Rows should not close the statement because Stmt has its own close function. This caused a double free error/crash on Fedora 16 x86_64. | |||||
| * | Use pkg-config instead of a hardcoded LDFLAGS | lye | 2012-01-10 | 1 | -1/+1 | |
| | | ||||||
| * | allow to insert zero-length strings into database | Sven Engelhardt | 2011-12-02 | 1 | -3/+8 | |
| | | | | | &b[0] fails with an index out-of-bounds error for a slice with len()==0 | |||||
| * | fix LastInsertId()/RowsAffected(). | mattn | 2011-11-15 | 1 | -2/+2 | |
| | | ||||||
| * | last inserted row ID, affected rows. | mattn | 2011-11-14 | 1 | -1/+13 | |
| | | ||||||
| * | clean | mattn | 2011-11-14 | 1 | -1/+0 | |
| | | ||||||
| * | gofmt. | mattn | 2011-11-11 | 1 | -19/+20 | |
| | | ||||||
| * | first import. | mattn | 2011-11-11 | 1 | -0/+253 | |
