Commit Graph

32 Commits

Author SHA1 Message Date
rittneje 98a44bcf59
report actual error message if sqlite3_load_extension fails (#800)
* report actual error message if sqlite3_load_extension fails

* more fixes and test cases

Co-authored-by: Jesse Rittner <jrittner@lutron.com>
2020-04-16 14:45:59 +09:00
Sergey Bronnikov d51eaf3b34 Fix typo (#763) 2020-01-09 18:43:04 +09:00
Yasuhiro Matsumoto 324c3f7deb fix type of event code
fixes #520
2018-01-29 11:15:57 +09:00
Tetsuya Morimoto d785b8f812 support sqlite3_limit to get/set run time limit 2017-11-05 08:19:06 +09:00
Jason Abbott 59bd281a89 Incorporate original PR 271 from https://github.com/brokensandals 2017-07-03 12:51:48 -06:00
Yasuhiro Matsumoto ecc5105e21 golint 2017-03-05 22:29:09 +09:00
Yasuhiro Matsumoto f9e79c0a39 golint 2017-03-05 20:52:55 +09:00
Yasuhiro Matsumoto a9d61d54c6 use pointer receiver 2017-03-05 20:49:45 +09:00
Yasuhiro Matsumoto fca908b496 fix import path 2017-03-05 20:48:17 +09:00
Conor Branagan 9efa963d05 [vtable] Rename Context to SQLiteContext
To not conflict with core "context" package naming.
2017-03-04 18:37:04 -05:00
Conor Branagan 618e784627 [vtable] Add pure Go example of GitHub repo vtable. 2017-03-04 18:10:02 -05:00
mattn c2ab9a4ac8 Merge pull request #279 from otoolep/src_dst_swapped
Source and destination are reversed
2017-03-01 15:57:43 +09:00
Yasuhiro Matsumoto b59c804b1d dummy constants 2017-01-11 01:18:51 +09:00
Yasuhiro Matsumoto efea85cb9a fixes #368 2017-01-10 00:40:58 +09:00
Graeme Connell 341bfcf7f1 Fix example import to point to mattn repo. 2016-11-11 09:50:05 -07:00
A.N 17a684694a Example program for the new SetTrace()
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).
2016-09-07 23:48:36 +09:00
Stani ed21175288 add missing error checking to simple example 2016-04-14 20:56:02 +02:00
Philip O'Toole baa815b31d Fix reversed source and destination names 2016-02-28 11:51:49 -08:00
Philip O'Toole 960d6a342a Alphabetical imports 2016-02-28 11:51:49 -08:00
Yasuhiro Matsumoto 64bb935391 remove binary file 2015-09-16 10:47:42 +09:00
mattn 0bb7f1c676 Merge pull request #229 from danderson/master
Implement support for calling Go functions from SQLite
2015-09-16 10:46:17 +09:00
David Anderson 26917df7a6 Implement support for aggregation functions implemented in Go. 2015-09-15 18:05:49 -07:00
Marc Campbell 5532d1d5ac Fix example to check the correct error value 2015-08-24 17:19:04 -07:00
gmarik 94efba9292 remove duplicated Close
since there's one already at line 51
2015-08-16 16:39:53 -04:00
Stéphane Graber 3d6c6f9345 Rename sqlite3.{c,h} to sqlite3-binding.{c,h}
This fixes the problem where when building with gccgo, sqlite3.c is
overwritten, leading to a build failure.

An alternative would have been to move sqlite3*.{c,h} to a subdirectory,
but that seems to confuse the linker a fair bit and would just swap one
implementation-dependent issue for another.

Closes #20

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2015-03-11 16:19:50 -04:00
tonio3l 0cdea24bc7 Update simple.go (very small change)
Renaming the string "sql" into "sqlStmt" in order to prevent mixing with package types & functions sql.* in future edits or code reuse.
2014-07-29 11:46:30 -07:00
mattn e52d4b08c1 Add backup. Close #104 2014-01-30 19:45:24 +09:00
mattn 79fb9332c1 Add example that query github repositories 2014-01-23 10:56:01 +09:00
mattn 1c16dbe609 rename 2013-09-12 09:40:57 +09:00
mattn d4673cd31c Implements Execer 2013-09-09 10:44:44 +09:00
mattn 75ef7d6c67 Add Makefile 2013-08-30 22:28:22 +09:00
mattn 501b1ea772 mv 2013-08-28 14:50:02 +09:00