Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Merge branch 'master' into trace | Yasuhiro Matsumoto | 2016-09-08 | 1 | -1/+1 | |
|\ \ \ \ | ||||||
| * | | | | test of backup is too long | Yasuhiro Matsumoto | 2016-09-08 | 1 | -1/+1 | |
| | | | | | ||||||
* | | | | | Example program for the new SetTrace() | A.N | 2016-09-07 | 1 | -0/+264 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Does INSERT, then SELECT on the inserted rows (in-memory database). The purpose of all these is to cause activity so there will be trace messages to display. Trace message formatting is included (a useful format, with explanations). | |||||
* | | | | | Remove obsolete comment | A.N | 2016-09-07 | 1 | -4/+0 | |
| | | | | | | | | | | | | | | | | | | | | The implementation which caused it was abandoned before first commit. | |||||
* | | | | | TraceInfo: fix RunTimeNanosec retrieval, add AutoCommit | A.N | 2016-09-07 | 1 | -3/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also change type of EventCode to uint32 so adding AutoCommit is "free" = does not enlarge the TraceInfo struct. 32 bits are more than enough, since only 4 (four) are used now. | |||||
* | | | | | Provide access to sqlite3_trace_v2(). | A.N | 2016-09-07 | 2 | -0/+279 | |
|/ / / / | ||||||
* | | | | Merge pull request #323 from FiloSottile/master | mattn | 2016-09-04 | 1 | -0/+2 | |
|\ \ \ \ | | | | | | | | | | | Make Go 1.7 fail compilation without cgo | |||||
| * | | | | Make Go 1.7 fail compilation | Filippo Valsorda | 2016-09-03 | 1 | -0/+2 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The package is useless without cgo, but Go 1.7 will happily build it since doc.go is a pure-Go file, even if CGO_ENABLED=0, like when cross-compiling. This is particularly problematic since the package is usually imported for its side effects, and users would successfully build a broken binary. Workaround golang/go#16981 | |||||
* | | | | Merge pull request #322 from a-p-/backup-tests | mattn | 2016-08-21 | 1 | -0/+247 | |
|\ \ \ \ | | | | | | | | | | | Add some testing of the backup functionality. | |||||
| * | | | | Add some testing of the backup functionality. | a-p- | 2016-08-20 | 1 | -0/+247 | |
|/ / / / | ||||||
* | | | | Close file | Yasuhiro Matsumoto | 2016-08-11 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | add upgrade.go | Yasuhiro Matsumoto | 2016-08-11 | 1 | -0/+77 | |
| | | | | ||||||
* | | | | add *.o | Yasuhiro Matsumoto | 2016-08-11 | 1 | -0/+1 | |
| | | | | ||||||
* | | | | use amalgamation 3.14.0 | Yasuhiro Matsumoto | 2016-08-11 | 2 | -356/+271 | |
| | | | | ||||||
* | | | | update amalgamation code | Yasuhiro Matsumoto | 2016-08-11 | 5 | -3702/+13949 | |
| | | | | ||||||
* | | | | Merge pull request #300 from sqweek/issue184 | mattn | 2016-07-15 | 1 | -0/+6 | |
|\ \ \ \ | | | | | | | | | | | Fix inconsistent tx state with database/sql. | |||||
| * | | | | Fix inconsistent tx state with database/sql. | sqweek | 2016-04-18 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The semantics of sql.Tx.Commit impose that the transaction is finished and cleaned up by the time the driver's Commit function returns. However sqlite3 leaves the transaction open if COMMIT fails due to an SQLITE_BUSY error, so *we* must clean it up. Closes #184. | |||||
* | | | | | Merge pull request #304 from steffengy/master | mattn | 2016-05-14 | 3 | -7153/+10536 | |
|\ \ \ \ \ | | | | | | | | | | | | | upgrade sqlite amalgamation to 3.12.2 | |||||
| * | | | | | upgrade sqlite amalgamation to 3.12.2 | Steffen | 2016-05-14 | 3 | -7153/+10536 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #302 from shaxbee/master | mattn | 2016-05-03 | 4 | -2/+15 | |
|\ \ \ \ \ | | | | | | | | | | | | | Build with libsqlite3 on Ubuntu 14.04 LTS | |||||
| * | | | | | Bump Travis to Ubuntu 14.04 | Zbigniew Mandziejewicz | 2016-04-23 | 1 | -1/+3 | |
| | | | | | | ||||||
| * | | | | | FTS4 is not available on Trusty | Zbigniew Mandziejewicz | 2016-04-23 | 2 | -1/+5 | |
| | | | | | | ||||||
| * | | | | | Test with libsqlite3 | Zbigniew Mandziejewicz | 2016-04-23 | 1 | -1/+4 | |
| | | | | | | ||||||
| * | | | | | Set SQLITE_DETERMINISTIC if undefined | Zbigniew Mandziejewicz | 2016-04-23 | 1 | -0/+4 | |
|/ / / / / | ||||||
* | | | | | Merge pull request #299 from shaxbee/master | mattn | 2016-04-19 | 3 | -1/+11 | |
|\ \ \ \ \ | |/ / / / |/| | | | | Build and docs for libsqlite3 on OS X | |||||
| * | | | | Instructions for libsqlite3 on OS X | Zbigniew Mandziejewicz | 2016-04-18 | 1 | -0/+5 | |
| | | | | | ||||||
| * | | | | Disable LoadExtension when omit_load_extension is specified | Zbigniew Mandziejewicz | 2016-04-18 | 1 | -1/+2 | |
| | | | | | ||||||
| * | | | | Disable LoadExtension when omit_load_extension is specified | Zbigniew Mandziejewicz | 2016-04-18 | 2 | -1/+5 | |
| | | | | | ||||||
* | | | | | Merge pull request #298 from shaxbee/master | mattn | 2016-04-18 | 1 | -0/+24 | |
|\| | | | | | | | | | | | | | | Expose LoadExtension with entry point | |||||
| * | | | | Expose LoadExtension with entry point | Zbigniew Mandziejewicz | 2016-04-18 | 1 | -0/+24 | |
|/ / / / | ||||||
* | | | | delete needless files | Yasuhiro Matsumoto | 2016-04-18 | 3 | -195213/+0 | |
| | | | | ||||||
* | | | | Merge pull request #294 from dgsb/master | mattn | 2016-04-18 | 5 | -5/+195219 | |
|\ \ \ \ | | | | | | | | | | | Move sqlite3 amalgation files a directory up. | |||||
| * | | | | Move sqlite3 amalgation files a directory up. | David Bariod | 2016-04-02 | 5 | -5/+195219 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose is to ease the use of vendoring files like godep. The C sqlite3 files have been added a go compilation conditional flag Fix #293 | |||||
* | | | | | Merge pull request #296 from stanim/errs | mattn | 2016-04-15 | 1 | -2/+16 | |
|\ \ \ \ \ | |/ / / / |/| | | | | add missing error checks in simple example | |||||
| * | | | | add missing error checking to simple example | Stani | 2016-04-14 | 1 | -2/+16 | |
|/ / / / | ||||||
* | | | | Merge pull request #291 from diocles/patch-1 | mattn | 2016-03-25 | 1 | -1/+1 | |
|\ \ \ \ | | | | | | | | | | | Fix sqlite "regexp" function name in documentation | |||||
| * | | | | Fix sqlite "regexp" function name in documentation | Tim Retout | 2016-03-24 | 1 | -1/+1 | |
|/ / / / | ||||||
* | | | | Remove gocov | Yasuhiro Matsumoto | 2016-03-15 | 1 | -1/+0 | |
| | | | | ||||||
* | | | | Merge pull request #286 from y0za/fix-testing-message | mattn | 2016-03-15 | 1 | -2/+2 | |
|\ \ \ \ | | | | | | | | | | | Fix testing message at TestInsert and TestUpdate | |||||
| * | | | | Fix testing message at TestInsert and TestUpdate | yoza | 2016-03-14 | 1 | -2/+2 | |
|/ / / / | ||||||
* | | | | Merge pull request #282 from zmedico/decltypes | mattn | 2016-03-07 | 2 | -6/+47 | |
|\ \ \ \ | | | | | | | | | | | Add SQLiteRows.DeclTypes() method | |||||
| * | | | | Test SQLiteRows.DeclTypes() | Zac Medico | 2016-03-07 | 1 | -0/+35 | |
| | | | | | ||||||
| * | | | | Add SQLiteRows.DeclTypes() method | Zac Medico | 2016-03-06 | 1 | -6/+12 | |
| | | | | | ||||||
* | | | | | Conditional build for the FTS5 Extension | Bruce Marriner | 2016-03-07 | 1 | -0/+13 | |
|/ / / / | ||||||
* | | | | Merge pull request #278 from rkintzi/json1 | mattn | 2016-03-03 | 1 | -0/+12 | |
|\ \ \ \ | |/ / / |/| | | | Conditional build for the JSON1 Extension | |||||
| * | | | Conditional build for the JSON1 Extension | Radosław Kintzi | 2016-02-28 | 1 | -0/+12 | |
|/ / / | ||||||
* | | | Merge pull request #275 from otoolep/fix_typos | mattn | 2016-02-23 | 3 | -14/+14 | |
|\ \ \ | |_|/ |/| | | Fix minor typos in comments | |||||
| * | | Fix minor typos in comments | Philip O Toole | 2016-02-23 | 3 | -14/+14 | |
|/ / | ||||||
* | | Merge pull request #267 from ianlancetaylor/go16 | mattn | 2016-02-01 | 1 | -4/+4 | |
|\ \ | | | | | | | bind: pass &v[0] in direct call to C | |||||
| * | | bind: pass &v[0] in direct call to C | Ian Lance Taylor | 2016-01-29 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Go 1.6, the cgo checking rules are more precise when they see an address operation as an argument to the C function. When you pass &v[0] to a C function, the cgo check just verifies that v itself does not contain any pointers. When you write `p := &v[0]` and then pass p to the C function, the cgo check is conservative: it verifies that the entire memory block to which p points does not contain any pointers. When the bind function is called by code that passes a slice that is part of a larger struct, this means that the cgo check will look at the entire larger struct, not just the slice. This can cause a surprising run time failure. Avoid this problem by rewriting the code slightly to pass &v[0] in the call to the C function itself. In particular this fixes the tests of github.com/jmoiron/sqlx when using Go 1.6. |