Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix possibly double Close. | Yasuhiro Matsumoto | 2017-08-02 | 2 | -5/+9 |
| | | | | fixes #448 | ||||
* | Merge pull request #436 from zombiezen/recursivetriggers | mattn | 2017-07-10 | 2 | -0/+55 |
|\ | | | | | Add connection option for recursive triggers | ||||
| * | Add connection option for recursive triggers | Ross Light | 2017-07-09 | 2 | -0/+55 |
|/ | | | | | Similar to foreign keys, the recursive triggers PRAGMA affects the interpretation of all statements on a connection. | ||||
* | Merge pull request #434 from toba/master | mattn | 2017-07-07 | 4 | -0/+139 |
|\ | | | | | Add functions to register update, commit, and rollback hooks (re-opened) | ||||
| * | Merge pull request #2 from mattn/master | Jason Abbott | 2017-07-06 | 1 | -1/+1 |
| |\ | |/ |/| | Merge lastest from mattn | ||||
* | | SQLITE_THREADSAFE=1 | Yasuhiro Matsumoto | 2017-07-05 | 1 | -1/+1 |
| | | | | | | | | fixes #274 | ||||
| * | Merge pull request #1 from toba/missing-callback-hooks | Jason Abbott | 2017-07-03 | 4 | -0/+139 |
|/| | | | | | Incorporate original PR 271 from https://github.com/brokensandals | ||||
| * | Incorporate original PR 271 from https://github.com/brokensandals | Jason Abbott | 2017-07-03 | 4 | -0/+139 |
|/ | |||||
* | Merge pull request #431 from deepilla/issue-430 | mattn | 2017-07-01 | 2 | -2/+4 |
|\ | | | | | Don't convert Unix times to nanoseconds when querying datetime fields… | ||||
| * | Don't convert Unix times to nanoseconds when querying datetime fields. Fixes ↵ | deepilla | 2017-06-30 | 2 | -2/+4 |
|/ | | | | #430. | ||||
* | Merge pull request #429 from emakeev/cgo_panic_fix | mattn | 2017-06-21 | 1 | -7/+4 |
|\ | | | | | Fix for cgo panic, issue #428: https://github.com/mattn/go-sqlite3/is… | ||||
| * | Fix for cgo panic, issue #428: https://github.com/mattn/go-sqlite3/issues/428 | Evgeniy Makeev | 2017-06-20 | 1 | -7/+4 |
|/ | |||||
* | Merge pull request #427 from otoolep/conn_stmt_race | mattn | 2017-06-18 | 1 | -1/+14 |
|\ | | | | | Address data race during close database and statement | ||||
| * | Sync database-close and statement-close | Philip O'Toole | 2017-06-17 | 1 | -1/+14 |
| | | | | | | | | Potential fix for issue #426. | ||||
| * | Merge pull request #2 from mattn/master | Philip O'Toole | 2017-06-17 | 38 | -195072/+215158 |
| |\ | |/ |/| | Merge upstream | ||||
* | | Merge pull request #425 from xxr3376/empty-bytes | mattn | 2017-06-15 | 1 | -4/+7 |
|\ \ | | | | | | | Treat []byte{} as empty BLOB instead of NULL. | ||||
| * | | Use global variable for better performance. | Xu Xinran | 2017-06-14 | 1 | -3/+4 |
| | | | |||||
| * | | Treat []byte{} as empty bytes instead of NULL. | Xu Xinran | 2017-06-14 | 1 | -2/+4 |
|/ / | |||||
* | | Merge pull request #421 from flimzy/readme | mattn | 2017-05-29 | 1 | -5/+5 |
|\ \ | | | | | | | Use "sqlite3" instead of "sqlite" in usage example. | ||||
| * | | Use "sqlite3" instead of "sqlite" in usage example. | Jonathan Hall | 2017-05-29 | 1 | -5/+5 |
|/ / | | | | | | | And a minor grammar improvement. | ||||
* | | Merge pull request #409 from kenshaw/add-vtable-insert-update-delete-unit-test | mattn | 2017-04-08 | 2 | -1/+338 |
|\ \ | | | | | | | Adding unit test for VTable Insert/Update/Delete | ||||
| * | | Adding unit test for VTable Insert/Update/Delete | Kenneth Shaw | 2017-04-07 | 2 | -1/+338 |
|/ / | |||||
* | | Merge pull request #399 from kenshaw/add-vtable-updater-hook | mattn | 2017-04-05 | 1 | -2/+72 |
|\ \ | | | | | | | Adding hook to vtable to allow VTab's to be updated | ||||
| * | | Adding hook to vhook to allow vtables to be modified | Kenneth Shaw | 2017-03-24 | 1 | -2/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the vtable 'xUpdate' goModule field to a new 'cXUpdate' callback function which in turns calls a 'goVUpdate' callback. This new callback allows Go defined virtual table implementations satisfying the VTabUpdater interface (also newly defined) a way to delete/insert/update rows in a VTab. Additionally, an anonymous interface is used within the goVUpdate callback looking for 'TableName() string' which, when defined on a VTab is used to provide a better contextual error message to end users if the VTab is read only. Care was taken to follow existing code style/conventions for this addition, and for backwards-compatibility with existing VTab implementations (hence why a new interface was required). | ||||
* | | | Merge pull request #407 from zombiezen/foreignkeys | mattn | 2017-04-02 | 2 | -3/+72 |
|\ \ \ | | | | | | | | | Add _foreign_keys connection parameter | ||||
| * | | | Add _foreign_keys connection parameter | Ross Light | 2017-04-01 | 2 | -3/+72 |
| |/ / | | | | | | | | | | | | | Fixes #377 Updates #255 | ||||
* | | | Merge pull request #406 from zombiezen/fixleak | mattn | 2017-04-02 | 1 | -0/+1 |
|\ \ \ | |/ / |/| | | Avoid leaking db if setting busy timeout fails | ||||
| * | | Avoid leaking db if setting busy timeout fails | Ross Light | 2017-04-01 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #398 from mkungla/qfe1 | mattn | 2017-03-24 | 1 | -1/+0 |
|\ \ | | | | | | | Removed ambitious conn.Close() | ||||
| * | | Removed ambitious conn.Close() | Marko Kungla | 2017-03-24 | 1 | -1/+0 |
|/ / | |||||
* | | close connection when got errors in Open | Yasuhiro Matsumoto | 2017-03-24 | 1 | -0/+3 |
| | | |||||
* | | fix breaking compatibility. | Yasuhiro Matsumoto | 2017-03-21 | 4 | -16/+15 |
| | | | | | | | | | | | | revert cf4bd560f1588d96c502b4c3407fe1a10cef4a28 close #394 | ||||
* | | fix test | Yasuhiro Matsumoto | 2017-03-21 | 1 | -3/+3 |
| | | |||||
* | | disable extension when loading failed | Yasuhiro Matsumoto | 2017-03-21 | 1 | -0/+1 |
| | | |||||
* | | fix test | Yasuhiro Matsumoto | 2017-03-21 | 1 | -1/+1 |
| | | |||||
* | | fix build | Yasuhiro Matsumoto | 2017-03-20 | 1 | -2/+2 |
| | | |||||
* | | fix build | Yasuhiro Matsumoto | 2017-03-20 | 3 | -7/+7 |
| | | |||||
* | | fix build | Yasuhiro Matsumoto | 2017-03-20 | 2 | -2/+2 |
| | | |||||
* | | return nil when last error is SQLITE_OK | Yasuhiro Matsumoto | 2017-03-20 | 1 | -1/+5 |
| | | |||||
* | | fix test | Yasuhiro Matsumoto | 2017-03-05 | 1 | -0/+1 |
| | | |||||
* | | golint | Yasuhiro Matsumoto | 2017-03-05 | 1 | -4/+5 |
| | | |||||
* | | rename | Yasuhiro Matsumoto | 2017-03-05 | 1 | -0/+0 |
| | | |||||
* | | add test env | Yasuhiro Matsumoto | 2017-03-05 | 1 | -1/+1 |
| | | |||||
* | | vtable is not default | Yasuhiro Matsumoto | 2017-03-05 | 1 | -0/+1 |
| | | |||||
* | | refactoring | Yasuhiro Matsumoto | 2017-03-05 | 4 | -197/+202 |
| | | |||||
* | | rename | Yasuhiro Matsumoto | 2017-03-05 | 1 | -0/+0 |
| | | |||||
* | | remove dependency of assert | Yasuhiro Matsumoto | 2017-03-05 | 1 | -14/+36 |
| | | |||||
* | | add gorepocard badge | Yasuhiro Matsumoto | 2017-03-05 | 1 | -1/+2 |
| | | |||||
* | | golint | Yasuhiro Matsumoto | 2017-03-05 | 2 | -6/+8 |
| | | |||||
* | | remove type ZeroBlobLength | Yasuhiro Matsumoto | 2017-03-05 | 1 | -2/+1 |
| | |