Commit Graph

11 Commits

Author SHA1 Message Date
Yasuhiro Matsumoto 01b1e89847
Move C code to amalgamation
Fixes #1020
2022-02-24 08:44:41 +09:00
Hanzhen Yi 2b131e01c1
change angle bracket import to quotes (#868) 2021-10-26 00:23:19 +09:00
Yunus Ayar 92f580b350
Fix #860 extenstion entry bug (#861)
Fix overshadowing of entrypoint variable.
2020-10-02 17:13:14 +09:00
rittneje 98a44bcf59
report actual error message if sqlite3_load_extension fails (#800)
* report actual error message if sqlite3_load_extension fails

* more fixes and test cases

Co-authored-by: Jesse Rittner <jrittner@lutron.com>
2020-04-16 14:45:59 +09:00
Yasuhiro Matsumoto fc06e55305
Add build constraints for non cgo 2019-11-18 18:03:31 +09:00
Gert-Jan Timmer 420bfbcac8 fmt update
Fix: Placed all +build tags in the same location
Fix: Split CFLAGS, LDFLAGS into seperate lines for readability and lookup
Fix: Placed empty line between copyright comments and build tags for readability
Fix: Placed OS specfic cgo flags at the end if the cgo sections contains multiple lines.
2018-05-27 00:05:45 +02:00
Yasuhiro Matsumoto 1d0b0f0e72 disable extension when loading failed 2017-03-21 00:47:07 +09:00
Yasuhiro Matsumoto 0d1d1a644e go vet && golint 2016-11-05 00:40:06 +09:00
Yasuhiro Matsumoto 297d6f8d2d update amalgamation code 2016-08-11 01:15:52 +09:00
Zbigniew Mandziejewicz da9decb965 Expose LoadExtension with entry point 2016-04-18 17:05:50 +08:00
Jessica Frazelle e37121d4ea introduce ability to pass sqlite_omit_load_extension
sqlite_omit_load_extension is a go build tag which behaves much like its
C counterpart SQLITE_OMIT_LOAD_EXTENSION

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-09-04 14:46:16 -07:00