aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade sqlite amalgamation to latest 3.10.2Vladimir Timofeev2016-01-222-11/+15
|
* Upgrade sqlite amalgamation to latest 3.10.1Vladimir Timofeev2016-01-223-15430/+54892
|
* Merge pull request #262 from keybase/mastermattn2015-12-301-1/+1
|\ | | | | Fix compile for old mingw32
| * Fix compile for old mingw32Taru Karttunen2015-12-301-1/+1
| |
* | avoid cgoCheckPointer. ref https://github.com/golang/go/issues/12416Yasuhiro Matsumoto2015-12-301-2/+16
|/
* Merge pull request #252 from marcelolima/mastermattn2015-11-061-1/+1
|\ | | | | Fix README project address
| * Fix README project addressMarcelo Lima2015-11-061-1/+1
|/
* Merge pull request #251 from larsmans/fixesmattn2015-11-032-23/+23
|\ | | | | Clean up tempfiles in tests
| * Clean up tempfiles in testsLars Buitinck2015-11-032-23/+23
|/ | | | "go test" leaves no more clutter in /tmp.
* Merge branch 'master' of https://github.com/mattn/go-sqlite3Yasuhiro Matsumoto2015-11-023-14/+38
|\
| * Merge pull request #243 from augustoroman/mastermattn2015-11-022-14/+34
| |\ | | | | | | Store/retrieve timezones for time.Time values.
| | * Store/retrieve timezones for time.Time values.Augusto Roman2015-10-092-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the timezone information for a provided value was discarded and the value always stored as in UTC. However, sqlite allows specifying the timezone offsets and handles those values appropriately. This change stores the timezone information and parses it out if present, otherwise it defaults to UTC as before. One additional bugfix: Previously, a unix timestamp in seconds was parsed in the local timezone (rather than UTC), in contrast to a unix timestamp in milliseconds that was parsed in UTC. While fixing that extra bug, I cleaned up the parsing code -- no need to convert to a string and then parse it back again and risk a parse error, just to check the number of digits. The tests were extended to cover non-UTC timezones storage & retrieval, meaningful unix timestamps, and correct handling of a trailing Z.
| * | Merge pull request #250 from DavidGamba/install-in-readmemattn2015-11-021-0/+4
| |\ \ | | |/ | |/| Update README. Install go-sqlite3 to avoid builds with gcc
| | * Update README. Install go-sqlite3 to avoid builds with gccDavid Gamba2015-10-311-0/+4
| |/
* | fix testsYasuhiro Matsumoto2015-11-022-3/+2
| |
* | Merge branch 'pr/207'Yasuhiro Matsumoto2015-11-024-35/+56
|\ \ | |/ |/|
| * Cosmetics: use WaitGroup instead of channel in testLars Buitinck2015-06-051-7/+4
| |
| * Test read-only databasesLars Buitinck2015-06-051-0/+21
| |
| * Clean up more tempfilesLars Buitinck2015-06-051-0/+1
| |
| * Fix doc commentLars Buitinck2015-06-051-1/+1
| |
| * Get reliable tempfile names from ioutil.TempFileLars Buitinck2015-06-052-28/+29
| | | | | | | | Also makes them easier to spot (the tests tend to litter /tmp).
* | Add FTS4 unicode61 tokenizer supportlooi2015-09-212-1/+45
| |
* | fix #238Yasuhiro Matsumoto2015-09-161-2/+2
| |
* | use math.MaxInt32. related issue #238Yasuhiro Matsumoto2015-09-161-4/+3
| |
* | fix build on 32bit OSs. Close #238Yasuhiro Matsumoto2015-09-161-2/+4
| |
* | remove binary fileYasuhiro Matsumoto2015-09-162-0/+0
| |
* | Merge pull request #229 from danderson/mastermattn2015-09-168-9/+1074
|\ \ | | | | | | Implement support for calling Go functions from SQLite
| * | Implement support for aggregation functions implemented in Go.David Anderson2015-09-155-33/+449
| | |
| * | Add support for interface{} arguments in Go SQLite functions.David Anderson2015-08-213-5/+60
| | | | | | | | | | | | | | | This enabled support for functions like Foo(a interface{}) and Bar(a ...interface{}).
| * | Implement support for variadic functions.David Anderson2015-08-212-10/+55
| | | | | | | | | | | | | | | Currently, the variadic part must all be the same type, because there's no "generic" arg converter.
| * | Move argument converters to callback.go, and optimize return value handling.David Anderson2015-08-214-152/+365
| | | | | | | | | | | | | | | | | | A call now doesn't have to do any reflection, it just blindly invokes a bunch of argument and return value handlers to execute the translation, and the safety of the translation is determined at registration time.
| * | Implement support for passing Go functions as custom functions to SQLite.David Anderson2015-08-215-6/+342
| | | | | | | | | | | | Fixes #226.
* | | Merge pull request #235 from jfrazelle/static_remove_dlopenmattn2015-09-053-17/+60
|\ \ \ | | | | | | | | remove dlopen if static_build flag
| * | | introduce ability to pass sqlite_omit_load_extensionJessica Frazelle2015-09-043-17/+60
|/ / / | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #231 from marccampbell/mastermattn2015-08-261-7/+7
|\ \ \ | | | | | | | | Fix example to check the correct error value
| * | | Fix example to check the correct error valueMarc Campbell2015-08-241-7/+7
| |/ /
* / / Fix test. Close #216mattn2015-08-251-1/+3
|/ / | | | | | | | | | | When one goroutine close db that opended as :memory:, session will be lost. So another goroutine can't refer the last session. goroutine .
* | Merge pull request #228 from whiter4bbit/added_icu_supportmattn2015-08-202-0/+17
|\ \ | | | | | | added icu extension support
| * | added icu extension supportPavel Zalunin2015-08-202-0/+17
|/ /
* | Merge pull request #227 from gmarik/patch-1mattn2015-08-171-1/+0
|\ \ | | | | | | remove duplicated Close
| * | remove duplicated Closegmarik2015-08-161-1/+0
|/ / | | | | since there's one already at line 51
* | Merge pull request #225 from kiwih/mastermattn2015-08-071-8/+8
|\ \ | | | | | | Fix for go-sqlite3 truncating 64-bit lastInsertIDs on 32-bit systems
| * | Add fix for go-sqlite3 truncating 64-bit integers when compiled by 32-bit ↵kiwih2015-08-071-8/+8
|/ / | | | | | | mingw-gcc on windows by converting 'long' variable types to 'long long' in sqlite3.go
* | update README.mdYasuhiro Matsumoto2015-06-301-0/+4
| |
* | hack to use libsqlite3Yasuhiro Matsumoto2015-06-126-155256/+155278
|/ | | | $ go build -tags "libsqlite3 windows"
* remove -lpthread. related issue #201Yasuhiro Matsumoto2015-04-281-1/+0
|
* Remove debug codeYasuhiro Matsumoto2015-04-151-2/+0
|
* Z suffix should be no-opYasuhiro Matsumoto2015-04-152-1/+42
|
* Merge pull request #194 from hallyn/tximm.2mattn2015-04-142-9/+62
|\ | | | | Add a txlock option when opening databases
| * Add a txlock option when opening databases (v2)Serge Hallyn2015-04-132-9/+62
| | | | | | | | | | | | | | | | | | | | | | When specified, changes the default locking at a tx.Begin. Changelog (v2): Add a testcase to ensure _txlock is properly handled. Closes #189 Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>