Commit Graph

645 Commits

Author SHA1 Message Date
Sven Engelhardt deaffef7cb implicitly close Stmt in Queryer, Close #131
the cls field tracks if the Stmt should be implicitly closed, in the
Exec() call the generated statement is always closed
2014-07-15 18:13:47 +02:00
mattn f87f73cc9a Merge pull request #130 from shuhaowu/sqlite-backup-step-done-check
Added an IsDone method for backup
2014-07-12 23:38:18 +09:00
Shuhao Wu 6d40aa115a Changed interface for backup step 2014-07-11 10:31:28 -04:00
mattn 9d2ae379b4 Upgrade amalgamation code 2014-07-11 12:26:33 +09:00
Shuhao Wu f4a65d9497 Added an IsDone method for backup 2014-07-10 16:23:05 -04:00
mattn fd3cd65a89 Merge pull request #127 from sean-duffy/master
Add missing time format, fixes #43
2014-07-08 19:06:22 +09:00
Sean Duffy d444acb5da Add missing time format, fixes #43 2014-07-08 10:56:44 +01:00
mattn 191ca24657 Rename 2014-07-04 10:25:27 +09:00
mattn ff8505c4ac Rename 2014-07-04 10:21:58 +09:00
mattn 9eb751e8f1 Add doc 2014-07-04 09:54:28 +09:00
mattn 5fb02bd99d Enable test for Queryer 2014-06-26 04:06:39 +09:00
mattn d9e7576acf Fix error on Execer. Close #124 2014-06-26 03:54:30 +09:00
mattn d56eb93ecb Implements Execer/Queryer. Close #60, #82, #113 2014-06-25 11:41:58 +09:00
mattn a59fbb40eb Merge pull request #116 from c14n/master
Enable extended error codes.
2014-06-25 11:34:13 +09:00
mattn f7d2df0102 Remove dead code in SQLiteRows.Bind. Close #119 2014-06-25 11:30:31 +09:00
mattn 71e406bc79 Don't return error when succeeded 2014-05-27 10:35:20 +09:00
Christoph Martin 6ec1687716 Fix ErrNoticeRecoverWAL variable name. 2014-04-01 18:09:00 +02:00
Christoph Martin f395aa170e Enable extended error codes. 2014-04-01 14:01:19 +02:00
mattn ded4a4bb1b Add msvcr100 for 64bit 2014-03-19 13:22:18 +09:00
mattn 58c62dc30c Merge pull request #99 from fawick/master
Enable Sqlite R*Tree Module
2014-03-19 13:20:30 +09:00
mattn 980ea65c41 Merge pull request #114 from jkl1337/master
Update sqlite to 3.8.4.1.
2014-03-14 14:00:09 +09:00
John K. Luebs 8c7b228d93 Update sqlite to 3.8.4.1.
Updating to 3.8.4.1 fixes some minor performance problems and also gains support
for CTEs (common table expressions).
2014-03-14 00:37:16 -04:00
mattn fb0ae12484 Merge pull request #110 from tpltnt/master
tiny typo fix
2014-02-18 09:13:53 +09:00
tpltnt 487e651e19 tiny typo fix 2014-02-18 01:06:30 +01:00
mattn ab9bed5c80 Use goveralls -repotoken 2014-02-07 09:34:58 +09:00
mattn e52d4b08c1 Add backup. Close #104 2014-01-30 19:45:24 +09:00
mattn ba91ba98f9 Fix test 2014-01-29 09:17:47 +09:00
mattn baffbbc154 go cover 2014-01-29 09:07:10 +09:00
mattn dfec358c75 Add test for error == nil 2014-01-29 09:02:22 +09:00
mattn 79fb9332c1 Add example that query github repositories 2014-01-23 10:56:01 +09:00
Fabian Wickborn f85c1dc044 Enable Sqlite R*Tree Module 2013-12-22 23:42:40 +01:00
mattn afb8145692 Merge pull request #97 from mpl/master
Next(): populate Row with []byte instead of string, as per driver doc
2013-12-05 15:55:55 -08:00
mpl 4a7ad328b7 Next(): populate Row with []byte instead of string, as per driver doc
Fix on behalf of bradfitz, see
http://golang.org/pkg/database/sql/driver/#Rows
2013-12-05 16:58:38 +01:00
mattn c066df8cd4 Merge pull request #96 from ericfrederich/eric_dev
Remove compiler error
2013-12-01 15:54:46 -08:00
Eric L. Frederich fdaaa1381b Remove compiler error
I got an error "function ends without a return statement" on go1.0.2
2013-11-30 22:40:21 -05:00
mattn 8d3a4e0ee8 Merge pull request #91 from robertknight/rob-extended_err_info
Provide more specific error messages
2013-11-19 16:28:21 -08:00
Robert Knight 72bb737cf9 Add unit test for enhanced error reporting
Add a test to check for a useful response for a SQL
query that cannot be executed due to a constraint failure
2013-11-19 14:05:48 +00:00
Robert Knight e0729751ac Update test expectations follow change of concrete error type 2013-11-19 13:53:24 +00:00
Robert Knight 19cb26da92 Provide more detailed error messages
Use the sqlite3_errmsg() API to retrieve more specific error
messages.

eg. Attempting to exec 'CREATE TABLE ExistingTableName (...)'
will now report 'table already exists: ExistingTableName' rather
than 'SQL logic error or missing database'
2013-11-19 09:13:19 +00:00
mattn 056b49918a Merge pull request #88 from hattya/close_v2
Use sqlite3_close_v2()
2013-10-24 17:02:49 -07:00
mattn 8727f70038 Merge pull request #89 from hattya/blob
sqlite3_column_blob() returns NULL for zero-length BLOB
2013-10-24 16:59:21 -07:00
Akinori Hattori ef9b514cad sqlite3_column_blob() returns NULL for zero-length BLOB 2013-10-24 22:25:07 +09:00
Akinori Hattori 4970c4bff6 Use sqlite3_close_v2() 2013-10-24 22:21:37 +09:00
mattn 2a2faeaf38 Include errno.h when build on cygwin. Closes #87 2013-10-02 12:51:44 +09:00
mattn 87dbce4730 Merge pull request #86 from porjo/patch-1
Update README.mkd
2013-09-29 04:52:51 -07:00
Porjo e8799fe79a Update README.mkd
Include documentation section
2013-09-28 19:55:26 +01:00
mattn 91c1a17d61 Merge pull request #85 from timob/master
Add benchmark tests. As used by other database/sql drivers.
2013-09-18 01:15:14 -07:00
Tim O'Brien a2f69308b3 Add benchmark tests. As used by other database/sql drivers. 2013-09-18 19:56:03 +12:00
mattn d0ce1a1784 Merge pull request #83 from dajohi/master
add new test for WAL journal_mode
2013-09-12 18:00:34 -07:00
David Hill 5b74e9ce72 add new test for WAL journal_mode 2013-09-12 11:38:11 -04:00