Commit Graph

19 Commits

Author SHA1 Message Date
xeodou 04d43c043e Upgrade to the latest sqlcipher. 2018-05-23 23:43:09 +08:00
Yasuhiro Matsumoto 953b2322bf
bump sqlite 3.23.0
closes #545
2018-04-04 22:48:19 +09:00
Yasuhiro Matsumoto a9601262ce bump sqlite 3.22.0
closes #526
2018-02-07 19:47:10 +09:00
Yasuhiro Matsumoto e5a5361164 upgrade SQLite3 amalgamation code 2017-11-18 00:25:05 +09:00
Yasuhiro Matsumoto 3ac25271e5 fix header file 2017-11-17 23:24:24 +09:00
Yasuhiro Matsumoto ca5e381972 upgrade amalgamation code 2016-11-11 09:01:23 +09:00
Christian Brauner f6e7921d24
actually link to <sqlite3.h> when -tags libsqlite3
Building with -tags libsqlite3 used the sqlite3.h from the system but the go
compiler will compile all *.{c,h} files in the same direcory:

	"When the Go tool sees that one or more Go files use the special import
	"C", it will look for other non-Go files in the directory and compile
	them as part of the Go package. Any .c, .s, or .S files will be compiled
	with the C compiler." (https://golang.org/cmd/cgo/)

So if users actually want to link against the system sqlite3 we should make
sqlite3-binding.* a noop.

Signed-off-by: Christian Brauner <christian.brauner@canonical.com>
2016-10-28 10:28:17 +02:00
Yasuhiro Matsumoto 297d6f8d2d update amalgamation code 2016-08-11 01:15:52 +09:00
xeodou f2597f7894 Clean code. 2016-07-19 12:30:40 -07:00
xeodou 959ff350e1 Update sqlcipher to 3.11.0 2016-07-07 15:43:10 +08:00
Steffen 5505c7c92e upgrade sqlite amalgamation to 3.12.2 2016-05-14 11:53:28 +02:00
David Bariod 3a5555302e Move sqlite3 amalgation files a directory up.
The purpose is to ease the use of vendoring files like godep.
The C sqlite3 files have been added a go compilation conditional flag
Fix #293
2016-04-02 12:48:26 +02:00
Yasuhiro Matsumoto ee9da4840d hack to use libsqlite3
$ go build -tags "libsqlite3 windows"
2015-06-12 13:26:42 +09:00
xeodou 00748147c4 Change sqlite to sqlcipher. 2015-04-01 22:26:04 +08: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
mattn e068bcd768 Revert d369cbb7d4
See https://github.com/golang/go/issues/9356
2014-12-31 23:08:06 +09:00
Neil Conway d369cbb7d4 Update SQLite amalgamation to 3.8.7.4. 2014-12-11 14:15:49 -08:00
mattn ad95f5fd3d Upgrade amalgramation code 2013-08-13 21:44:05 +09:00
Carlos Castillo 58cfe6309d Modified for windows support. 2012-10-27 19:58:40 -07:00