Commit Graph

865 Commits

Author SHA1 Message Date
mattn 070b17a2fd
Merge pull request #680 from rittneje/improve-faq-in-memory-shared-cache
improve FAQ re: in-memory databases
2019-05-29 17:43:13 +09:00
mattn afa0250ddf
Create FUNDING.yml 2019-05-24 00:19:27 +09:00
mattn 2a192bf782
Merge pull request #716 from mattn/fix-variadic
Fix type of variadic
2019-05-11 01:41:06 +09:00
Yasuhiro Matsumoto 81b9db8126
Fix type of variadic 2019-05-10 23:23:32 +09:00
mattn 5994cc52df
Merge pull request #712 from mattn/sqlite-amalgamation-3280000
upgrade amalgamation code
2019-04-24 18:37:27 +09:00
Yasuhiro Matsumoto 4bbd87b29d
upgrade amalgamation code 2019-04-24 16:55:17 +09:00
mattn 31f5bb843b
Merge pull request #702 from mattn/sqlite-amalgamation-3270200
upgrade amalgamation code
2019-03-15 17:37:29 +09:00
Yasuhiro Matsumoto 93716266ad
upgrade amalgamation code 2019-03-15 16:07:56 +09:00
mattn ad30583d83
Merge pull request #695 from mattn/fix-typo
Fix typo
2019-02-18 02:40:29 +09:00
Yasuhiro Matsumoto eac3a7fd21
Fix typo
[ci skip]
2019-02-18 02:39:13 +09:00
mattn 4cb37250b6
Merge pull request #693 from egonelbre/unify-travis-runs
Unify travis runs
2019-02-11 11:28:46 +09:00
mattn 58039ab376
Merge pull request #692 from mattn/fix-688
Fix 688
2019-02-11 11:20:17 +09:00
Egon Elbre 54fcf30aef Remove separate go build 2019-02-10 21:39:53 +02:00
Egon Elbre 01e5d0e24c Faster travis running 2019-02-10 19:04:48 +02:00
Yasuhiro Matsumoto 4731d0e6ab
Print type of result 2019-02-11 01:36:01 +09:00
Yasuhiro Matsumoto 5e7aedf685
Add test 2019-02-11 00:48:49 +09:00
Dimitri Roche ae5cbb218c
column_type SQLITE_TEXT returned as string by default 2019-02-11 00:48:38 +09:00
Dimitri Roche abc8991d4d
column types text, varchar, *char return as strings:
As opposed to []byte arrays. This brings sqlite closer
in line with other dbs like postgres, allowing downstream
consumers to assume the scanned value is string across underlying
dbs.
2019-02-11 00:48:28 +09:00
Jesse Rittner 062811fcbd more code formatting 2019-01-04 18:57:33 -05:00
Jesse Rittner 2ee07a473f adding additional info to FAQ about in-memory databases 2019-01-04 18:54:34 -05:00
mattn 3fa1c550ff
Merge pull request #679 from pocke/an-a
Fix typo in README
2019-01-05 01:17:12 +09:00
Masataka Pocke Kuwabara 1688b64fb7
Fix typo in README
s/an/a/
2019-01-04 23:55:45 +09:00
mattn 87ac1cb497
Merge pull request #675 from mattn/sqlite-amalgamation-3260000
upgrade amalgamation code
2018-12-18 12:04:05 +09:00
Yasuhiro Matsumoto aa13f26d02
upgrade amalgamation code 2018-12-18 09:11:45 +09:00
mattn 03cb0c0623
Merge pull request #673 from rittneje/revert-671
Revert 671
2018-12-09 01:24:40 +09:00
Jesse Rittner 2fe51daa56 fixed typo 2018-12-08 08:39:01 -05:00
Jesse Rittner 5846e1aa22 adding unit test 2018-12-08 08:31:45 -05:00
Jesse Rittner 291594080b Revert "SQLITE_OPEN_CREATE should be specified for sqlite3_open_v2 if mode is not rw"
This reverts commit 03b96a53ba.
2018-12-08 08:01:50 -05:00
mattn 248a1e667c
Merge pull request #671 from mattn/fix667
SQLITE_OPEN_CREATE should be specified for sqlite3_open_v2 if mode is…
2018-12-07 23:22:43 +09:00
Yasuhiro Matsumoto 03b96a53ba
SQLITE_OPEN_CREATE should be specified for sqlite3_open_v2 if mode is not rw
Fixes #667
Fixes #669
2018-12-07 16:07:16 +09:00
mattn e924752105
Merge pull request #670 from mattn/close-db
Close db even if sqlite3_open_v2 return non-zero.
2018-12-07 15:00:59 +09:00
Yasuhiro Matsumoto 8f4ea282cf
Close db even if sqlite3_open_v2 return non-zero. 2018-12-07 13:13:49 +09:00
mattn 6a9185d7b1
Merge pull request #626 from otoolep/fix_data_race
Fix data race in AutoCommit()
2018-11-22 01:49:42 +09:00
mattn 873ec57005
Merge pull request #643 from akalin/zero-length-blob
Distinguish between NULL and zero-length blobs on query
2018-11-22 01:48:38 +09:00
mattn c880439687
Merge pull request #644 from akalin/fix-pointer-conversion
Clean up blob to byte slice conversion
2018-11-22 01:47:23 +09:00
mattn 0a64ab220b
Merge pull request #665 from mjtrangoni/fix-gometalinter-issues
Fix gometalinter issues
2018-11-22 01:46:04 +09:00
Mario Trangoni d2d0bf1bf1 upgrade/package.go: Fix golint issue 2018-11-21 11:31:07 +01:00
Mario Trangoni c46327f585 sqlite3_test.go: Simplify return err 2018-11-21 11:31:05 +01:00
Mario Trangoni b76b90f754 Fix misspell issues.
See,
$ gometalinter --vendor --disable-all --enable=misspell ./...
sqlite3.go:1379:45⚠️ "succesfully" is a misspelling of "successfully" (misspell)
sqlite3.go:1390:30⚠️ "registerd" is a misspelling of "registered" (misspell)
sqlite3_func_crypt.go:16:27⚠️ "ceasar" is a misspelling of "caesar" (misspell)
sqlite3_func_crypt.go:43:59⚠️ "Ceasar" is a misspelling of "Caesar" (misspell)
sqlite3_opt_userauth_test.go:450:27⚠️ "succesful" is a misspelling of "successful" (misspell)
sqlite3_opt_userauth_test.go:456:27⚠️ "succesful" is a misspelling of "successful" (misspell)
2018-11-21 11:30:42 +01:00
mattn 1ef6010539
Merge pull request #664 from bk521234/patch-1
updating Windows TDM-GCC link to properly render
2018-11-18 01:49:37 +09:00
bk521234 76c6ec0516
updating link to properly render
fixing "[here](ttps://sourceforge.net/projects/tdm-gcc/)" to "[here](https://sourceforge.net/projects/tdm-gcc/)".
2018-11-17 09:45:35 -07:00
Yasuhiro Matsumoto eed79b8657
update README.md 2018-11-09 18:53:04 +09:00
mattn 1fc3fd346d
Merge pull request #657 from kevinburke/compile-tip
travis.yml: build Go tip
2018-11-02 16:49:07 +09:00
Kevin Burke 6a26e21416
all: fix cgo compile failures on tip
Apparently the cgo typechecks get better on tip, so use C.int instead
of Go integers.

Build tip as part of the Travis build, so we can ensure that any
errors are resolved before they get released to a wider audience.
2018-11-01 20:42:26 -10:00
mattn c7c4067b79
Merge pull request #655 from typeless/fix-too-large-arrary-error-v2
Fix build failure of incorrect expression for unsafe.Sizeof
2018-10-24 11:40:35 +09:00
Mura Li 576a2cb9f5 Fix build failure of incorrect expression for unsafe.Sizeof 2018-10-24 09:55:24 +08:00
mattn 276457a170
Merge pull request #654 from typeless/fix-too-large-arrary-error
Fix build failure on Windows/386
2018-10-24 10:09:38 +09:00
Mura Li d12a1386ff Fix build failure on Windows/386
The array size exceeds the address space of 32-bit platform.
See https://github.com/mattn/go-sqlite3/issues/238
2018-10-24 00:12:27 +08:00
mattn f3aa5ce899
Merge pull request #439 from typeless/add-unlock-notify
Add support for sqlite3_unlock_notify
2018-10-21 09:58:17 +09:00
Mura Li 68e53de11e Rename the wrapper functions to not pollute the sqlite3_* namespace 2018-10-20 23:02:21 +08:00