aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix possibly double Close.Yasuhiro Matsumoto2017-08-022-5/+9
| | | | fixes #448
* Merge pull request #436 from zombiezen/recursivetriggersmattn2017-07-102-0/+55
|\ | | | | Add connection option for recursive triggers
| * Add connection option for recursive triggersRoss Light2017-07-092-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/mastermattn2017-07-074-0/+139
|\ | | | | Add functions to register update, commit, and rollback hooks (re-opened)
| * Merge pull request #2 from mattn/masterJason Abbott2017-07-061-1/+1
| |\ | |/ |/| Merge lastest from mattn
* | SQLITE_THREADSAFE=1Yasuhiro Matsumoto2017-07-051-1/+1
| | | | | | | | fixes #274
| * Merge pull request #1 from toba/missing-callback-hooksJason Abbott2017-07-034-0/+139
|/| | | | | Incorporate original PR 271 from https://github.com/brokensandals
| * Incorporate original PR 271 from https://github.com/brokensandalsJason Abbott2017-07-034-0/+139
|/
* Merge pull request #431 from deepilla/issue-430mattn2017-07-012-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 ↵deepilla2017-06-302-2/+4
|/ | | | #430.
* Merge pull request #429 from emakeev/cgo_panic_fixmattn2017-06-211-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/428Evgeniy Makeev2017-06-201-7/+4
|/
* Merge pull request #427 from otoolep/conn_stmt_racemattn2017-06-181-1/+14
|\ | | | | Address data race during close database and statement
| * Sync database-close and statement-closePhilip O'Toole2017-06-171-1/+14
| | | | | | | | Potential fix for issue #426.
| * Merge pull request #2 from mattn/masterPhilip O'Toole2017-06-1738-195072/+215158
| |\ | |/ |/| Merge upstream
* | Merge pull request #425 from xxr3376/empty-bytesmattn2017-06-151-4/+7
|\ \ | | | | | | Treat []byte{} as empty BLOB instead of NULL.
| * | Use global variable for better performance.Xu Xinran2017-06-141-3/+4
| | |
| * | Treat []byte{} as empty bytes instead of NULL.Xu Xinran2017-06-141-2/+4
|/ /
* | Merge pull request #421 from flimzy/readmemattn2017-05-291-5/+5
|\ \ | | | | | | Use "sqlite3" instead of "sqlite" in usage example.
| * | Use "sqlite3" instead of "sqlite" in usage example.Jonathan Hall2017-05-291-5/+5
|/ / | | | | | | And a minor grammar improvement.
* | Merge pull request #409 from kenshaw/add-vtable-insert-update-delete-unit-testmattn2017-04-082-1/+338
|\ \ | | | | | | Adding unit test for VTable Insert/Update/Delete
| * | Adding unit test for VTable Insert/Update/DeleteKenneth Shaw2017-04-072-1/+338
|/ /
* | Merge pull request #399 from kenshaw/add-vtable-updater-hookmattn2017-04-051-2/+72
|\ \ | | | | | | Adding hook to vtable to allow VTab's to be updated
| * | Adding hook to vhook to allow vtables to be modifiedKenneth Shaw2017-03-241-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/foreignkeysmattn2017-04-022-3/+72
|\ \ \ | | | | | | | | Add _foreign_keys connection parameter
| * | | Add _foreign_keys connection parameterRoss Light2017-04-012-3/+72
| |/ / | | | | | | | | | | | | Fixes #377 Updates #255
* | | Merge pull request #406 from zombiezen/fixleakmattn2017-04-021-0/+1
|\ \ \ | |/ / |/| | Avoid leaking db if setting busy timeout fails
| * | Avoid leaking db if setting busy timeout failsRoss Light2017-04-011-0/+1
|/ /
* | Merge pull request #398 from mkungla/qfe1mattn2017-03-241-1/+0
|\ \ | | | | | | Removed ambitious conn.Close()
| * | Removed ambitious conn.Close()Marko Kungla2017-03-241-1/+0
|/ /
* | close connection when got errors in OpenYasuhiro Matsumoto2017-03-241-0/+3
| |
* | fix breaking compatibility.Yasuhiro Matsumoto2017-03-214-16/+15
| | | | | | | | | | | | revert cf4bd560f1588d96c502b4c3407fe1a10cef4a28 close #394
* | fix testYasuhiro Matsumoto2017-03-211-3/+3
| |
* | disable extension when loading failedYasuhiro Matsumoto2017-03-211-0/+1
| |
* | fix testYasuhiro Matsumoto2017-03-211-1/+1
| |
* | fix buildYasuhiro Matsumoto2017-03-201-2/+2
| |
* | fix buildYasuhiro Matsumoto2017-03-203-7/+7
| |
* | fix buildYasuhiro Matsumoto2017-03-202-2/+2
| |
* | return nil when last error is SQLITE_OKYasuhiro Matsumoto2017-03-201-1/+5
| |
* | fix testYasuhiro Matsumoto2017-03-051-0/+1
| |
* | golintYasuhiro Matsumoto2017-03-051-4/+5
| |
* | renameYasuhiro Matsumoto2017-03-051-0/+0
| |
* | add test envYasuhiro Matsumoto2017-03-051-1/+1
| |
* | vtable is not defaultYasuhiro Matsumoto2017-03-051-0/+1
| |
* | refactoringYasuhiro Matsumoto2017-03-054-197/+202
| |
* | renameYasuhiro Matsumoto2017-03-051-0/+0
| |
* | remove dependency of assertYasuhiro Matsumoto2017-03-051-14/+36
| |
* | add gorepocard badgeYasuhiro Matsumoto2017-03-051-1/+2
| |
* | golintYasuhiro Matsumoto2017-03-052-6/+8
| |
* | remove type ZeroBlobLengthYasuhiro Matsumoto2017-03-051-2/+1
| |