mattn
3d78a08b9f
Workaround for #109 , #147
2014-09-10 14:58:32 +09:00
Peter Waller
764e046d89
Add "date" to decltypes parsed as a unix time
2014-09-02 16:36:34 +01:00
Peter Waller
ff0960b999
Add 'date' to rc.decltypes interpreted as a time
2014-08-11 11:03:27 +01:00
mattn
1704ea522d
Merge pull request #134 from antoine-lizee/patch-1
...
Update simple.go (very small change)
2014-07-30 09:00:17 +09: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
9ac94b6fbf
Prefer md
2014-07-16 17:56:05 +09:00
mattn
07b39a049e
Add TestStress
2014-07-16 17:44:23 +09:00
mattn
3db806ab95
Merge pull request #132 from fiber/master
...
implicitly close Stmt in Queryer, Close #131
2014-07-16 17:35:13 +09:00
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