Commit Graph

260 Commits

Author SHA1 Message Date
Jan Mercl
cfee3bea08 release SQLite 3.37.0 2021-12-02 14:56:58 +01:00
Dan Peterson
016dce0ab9 darwin/arm64: regenerate 2021-12-01 15:29:39 -04:00
Jan Mercl
32c44981d8 update dependencies 2021-12-01 20:19:32 +01:00
Jan Mercl
fd9cba43ce use -ignore-unsupported-alignment, enables generating on darwin/arm64 2021-12-01 19:12:08 +01:00
Jan Mercl
2e81d6072a update dependencies 2021-12-01 15:18:24 +01:00
Jan Mercl
9ac8e1282d SQLite 3.37.0: rc2 2021-11-30 18:46:09 +01:00
Jan Mercl
12794c24e9 3.37.0: regenerate all but darwin/arm64, netbsd/amd64 and windows/386 2021-11-29 14:57:11 +01:00
Jan Mercl
d4ed92c0a7 regenerate all but windows, updates #77 2021-11-25 16:13:25 +01:00
Jan Mercl
bf09fc9c7a windows: fix build on Go 1,16
Updates #76

commit 44e6def788b46aad7f1f031706e99985b64bb343
Author: Jan Mercl <0xjnml@gmail.com>
Date:   Sun Nov 14 11:11:51 2021 +0100

    OK
2021-11-14 11:12:37 +01:00
Jan Mercl
6a550af056 Support windows/amd64.
This target had previously only experimental status because of a now resolved
memory leak.

Closes #23
Updates #72
2021-11-13 20:39:47 +01:00
Jan Mercl
c0894304cd windows/amd64: regenerate 2021-11-13 10:19:47 +01:00
Jason DeBettencourt
2f71039535 #72, long paths now allowed with Go 1.17 on Win 10 version >=1607. Skip path test on 1.17, but run if not 1.17 2021-11-10 17:51:57 -05:00
Jan Mercl
5e04542b70 darwin/amd64: regenerate with updated dependencies, updates libc#13 2021-11-10 15:41:27 +01:00
Jan Mercl
03e0695dd5 netbsd/amd64: regenerate 2021-11-09 15:30:55 +01:00
Jan Mercl
f57b67ef4d freebsd/amd64: regenerate 2021-11-07 23:16:53 +01:00
Jan Mercl
c07fc560c9 libtest: configure mutexes 2021-11-04 21:11:26 +01:00
Jan Mercl
da7d46b478 linux/s390x: regenerate 2021-11-03 14:50:37 +00:00
Jan Mercl
6e9b1d510f linux/arm64: regenerate 2021-11-02 17:42:35 +01:00
Jan Mercl
333ac00e6b linux/arm: regenerate 2021-11-01 22:34:01 +01:00
Jan Mercl
e3f3850a65 update dependencies 2021-10-29 13:42:17 +02:00
Jan Mercl
8dc4025eb4 update dependencies 2021-10-28 20:02:03 +02:00
Jan Mercl
9353f1a77b linux/386: regenerate 2021-10-27 13:32:38 +02:00
Jan Mercl
6f800703d3 TestConcurrentProcesses: enlarge timeout, enables slow builders to pass 2021-10-24 18:00:29 +02:00
Jan Mercl
9f43b4373b linux/amd64: switch to tcl8.6.10 and regenerate 2021-10-23 21:11:59 +02:00
Dan Peterson
064df839a4 driver: support _time_format DSN query param
Building on the _pragma query param support added in 508747c9, support
a new _time_format query param.

If _time_format is set to "sqlite", written times use the time package
format "2006-01-02 15:04:05.999999999-07:00". This is the format
mattn/go-sqlite3 uses and is format 4 at
https://sqlite.org/lang_datefunc.html#time_values.

By default, times are formatted with time.Time.String. This maintains
compatibility with existing users of the driver.

Fixes #47
2021-10-23 15:36:02 -03:00
Dan Peterson
a530c91309 driver: return error strings for constraint errors
In conn.step, use conn.errstr which gets the error from sqlite instead
of looking up the result code in the ErrorCodeString map.

This changes the code 5 (SQLITE_BUSY) message slightly, including
"database is locked" as returned my errstr. "SQLITE_BUSY" is still
added to the message.

Fixes #73
2021-10-23 09:42:14 -03:00
Jan Mercl
15de7b4046 linux/s390x: pass most tests 2021-10-04 16:50:13 -04:00
Jan Mercl
6ed4e8a546 linux/s390x: regenerate, tcl tests do not pass 2021-09-28 20:07:21 +00:00
Jan Mercl
da74fa6c39 remove --trace 2 from TestConcurrentProcesses 2021-09-25 10:53:13 +02:00
Jan Mercl
2ee0830c56 add initial netbsd/amd64 support, updates libc#12 2021-09-24 17:01:05 +02:00
Jan Mercl
fa683c81c6 add test, updates #65 2021-09-17 12:38:44 +02:00
Jan Mercl
e3be4b029c fix retry logic around conn.step, updates #66 2021-09-14 16:20:20 +02:00
Jan Mercl
e1d8d213c1 Fix invalid test, resolves #70 2021-09-13 13:50:13 +02:00
Jan Mercl
7f27fe4762 add TestIssue70, updates #70 2021-09-13 12:00:13 +02:00
Jan Mercl
575ee467e0 freebsd/amd64: release it. Closes #68 libc#10 2021-09-07 16:47:43 +02:00
Jan Mercl
5cfa71ff0c freebsd/amd64: rc2 2021-09-06 20:57:30 +02:00
Jan Mercl
92ad7a5b40 freebsd/amd64: rc1 2021-09-06 16:25:17 +02:00
Jan Mercl
8dac16aa23 freebsd/amd64: blacklist last 3 failing Tcl tests 2021-09-05 22:12:19 +02:00
Jan Mercl
9a25739684 update dependencies 2021-09-05 20:36:52 +02:00
Jan Mercl
65c49f4def freebsd/amd64: initial port, GO111MODULE=off only, updates libc#10. 2021-09-04 21:39:54 +02:00
Jan Mercl
3e252fa613 update dependencies 2021-09-01 21:31:46 +02:00
Jan Mercl
8efc1b0753 windows: fix TestPersistPragma.3, updates #67 2021-09-01 14:38:12 +02:00
Jan Mercl
aa7d275125 windows: fix TestPersistPragma.2, updates #67 2021-09-01 14:24:15 +02:00
Jan Mercl
7ecaceaa8f windows: fix TestPersistPragma, updates #67 2021-09-01 14:06:04 +02:00
Jan Mercl
5065933415 update dependencies 2021-08-31 20:38:06 +02:00
Logan
0c9a6edac0 Merge branch 'persistent_pragma_configs' into 'master'
Persist pragma configurations via url parameter

Closes #37

See merge request cznic/sqlite!27
2021-08-19 00:02:34 +00:00
Logan
508747c957 Persist pragma configurations via url parameter 2021-08-19 00:02:34 +00:00
Jan Mercl
3ef4b5e692 restart builders 2021-08-18 18:39:17 +02:00
Dan Peterson
d5a408ea46 regenerate darwin/arm64 2021-07-23 17:43:02 -03:00
Jan Mercl
80c708f2aa fix race on conn.{Close,interrupt}, updates #57 2021-07-22 12:47:08 +02:00