Commit Graph

246 Commits

Author SHA1 Message Date
mattn a528a30852 Add test for ErrNo.Extend() 2015-01-26 18:38:13 +09:00
mattn 9c64e666d6 Merge pull request #169 from mdevan/master
Return error code of sqlite3_step, not sqlite3_reset
2015-01-26 17:49:40 +09:00
Mahadevan a14f442f3e Return error code of sqlite3_step, not sqlite3_reset 2015-01-26 14:10:18 +05:30
mattn d8029554b4 Merge pull request #165 from porjo/porjo
Handle 13 digit datetime values
2015-01-02 18:20:16 +09:00
Ian Bishop 0b05acc293 Handle 13 digit datetime values 2015-01-02 16:42:25 +10:00
mattn e068bcd768 Revert d369cbb7d4
See https://github.com/golang/go/issues/9356
2014-12-31 23:08:06 +09:00
mattn 4c5aec8622 Revert d369cbb7d4
See https://github.com/golang/go/issues/9356
2014-12-19 16:31:45 +09:00
mattn 6dcf015b82 Merge pull request #164 from nshalman/c99
set CFLAGS: -std=gnu99 (fixes SmartOS)
2014-12-19 09:50:16 +09:00
Nahum Shalman ae251919bd set CFLAGS: -std=gnu99
Fixes the following error message on SmartOS:

$ go get github.com/mattn/go-sqlite3
In file included from /usr/include/stdio.h:37:0,
                 from go/src/github.com/mattn/go-sqlite3/sqlite3.c:8422:
/opt/local/gcc47/lib/gcc/i386-sun-solaris2.11/4.7.3/include-fixed/sys/feature_tests.h:366:2: error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications  require the use of c99"
2014-12-18 17:16:42 -05:00
mattn c9a0db5d89 Merge pull request #161 from neilconway/master
Update SQLite amalgamation to 3.8.7.4.
2014-12-12 09:37:02 +09:00
Neil Conway d369cbb7d4 Update SQLite amalgamation to 3.8.7.4. 2014-12-11 14:15:49 -08:00
mattn beeda4c311 Merge pull request #160 from capoferro/patch-1
Catch missing arguments for Query()
2014-11-30 20:35:28 +09:00
Josiah Kiehl (formerly @bluepojo) 3dc340b45f Catch missing arguments for Query()
Also improved error message on Exec() for consistency.
2014-11-29 14:08:02 -08:00
mattn d10e2c8f62 Reset statement. Fixes #150 2014-11-16 23:51:46 +09:00
mattn d9881e4de3 Update README.md 2014-11-14 19:50:39 +09:00
mattn 764faa850f Update README.md 2014-11-14 19:49:22 +09:00
mattn 817f281a0d Backup.Step may handle SQLITE_BUSY / SQLITE_LOCKED specifically. Close #133 2014-11-14 19:37:23 +09:00
mattn acf1dd667b add .gitignore 2014-11-14 17:20:14 +09:00
mattn e63d2546a0 set/reset finalizer to free SQLite3 handles 2014-11-14 17:13:35 +09:00
mattn 1d8f24c39f Merge pull request #159 from michael-k/go-cover
go cover has moved
2014-11-14 08:53:17 +09:00
Michael K 239461c8b7 go cover has moved 2014-11-14 00:23:32 +01:00
mattn 12a1c0f435 rows.Close() 2014-11-14 02:21:49 +09:00
mattn e5819757da Should affect on only 386 2014-10-24 19:38:05 +09:00
mattn c1aa7ac706 Merge pull request #155 from kartaca/master
fixed timezone problem for datetime types
2014-10-24 18:22:46 +09:00
Mehmet Gurevin 6710e996b5 fixed timezone problem for datetime types 2014-10-23 20:12:32 +03:00
mattn 00716954b7 Specify by -D 2014-10-22 13:31:54 +09:00
mattn 1fbcb3cdc2 Thread safe 2014-10-20 15:19:03 +09:00
mattn ea3ab4d8f5 Merge pull request #152 from rhomel/master
add Version func for retrieving SQLite library version info
2014-10-13 20:00:57 +09:00
romo 86932b40b0 add Version func for retrieving SQLite library version info 2014-10-13 11:05:49 +09:00
mattn a80c27ba33 Merge commit '3d78a08b9f3307ac3874f5c120f7d4166c62efb9' 2014-09-10 15:02:09 +09:00
mattn 3d78a08b9f Workaround for #109, #147 2014-09-10 14:58:32 +09:00
mattn 3ab1d6f348 Merge branch 'master' of https://github.com/mattn/go-sqlite3 2014-09-03 09:21:35 +09:00
mattn 0a0c543dc0 Merge branch 'pr/135' 2014-09-03 09:21:15 +09:00
Peter Waller 764e046d89 Add "date" to decltypes parsed as a unix time 2014-09-02 16:36:34 +01:00
mattn abd3d9caef Merge pull request #140 from pblaszczyk/patch-1
Fix for sqlite3_test import.
2014-08-21 09:56:28 +09:00
Paweł Błaszczyk abf79dbdd5 Fix for sqlite3_test import. 2014-08-20 16:13:15 +02:00
mattn 72cb8db627 Fixed checking parameter count 2014-08-18 18:48:48 +09:00
mattn b718c29aea Merge branch 'master' of github.com:mattn/go-sqlite3 2014-08-18 18:24:12 +09:00
mattn d069822191 Check parameter count 2014-08-18 18:23:58 +09:00
mattn 060db06a28 Add note about license of amalgamation code 2014-08-18 17:05:50 +09:00
mattn 6535341da9 Add one blank line for godoc 2014-08-18 17:00:59 +09:00
mattn 5b2191bd7a Remove license header from doc.go because it appear in godoc 2014-08-18 16:58:14 +09:00
mattn 5e5d088a36 Add license header 2014-08-18 16:56:31 +09:00
mattn 592f5d512e Add LICENSE file 2014-08-18 16:52:12 +09:00
mattn d3334c1381 Use code 2014-08-18 16:52:06 +09: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