Commit Graph

240 Commits

Author SHA1 Message Date
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
Jan Mercl
cb1f916bce enable session support, updates #58 2021-07-18 20:22:36 +02:00
Jan Mercl
fbc07fb841 windows/amd64: add note about experimental status 2021-07-02 13:45:34 +02:00
Jan Mercl
c4b5926a17 changelog: v1.11.0, upgrade to SQLite v3.36.0 III 2021-06-23 10:00:27 +02:00
Jan Mercl
b0a9c609ac changelog: v1.11.0, upgrade to SQLite v3.36.0 II 2021-06-23 06:13:02 +02:00
Jan Mercl
a690d4c13a changelog: v1.11.0, upgrade to SQLite v3.36.0 2021-06-23 06:12:10 +02:00
Dan Peterson
69dcd2c419 upgrade darwin/arm64 to SQLite 3.36.0 2021-06-22 19:33:39 -03:00
Jan Mercl
ffc4be292a update all targets but darwin/arm64 to SQLite 3.36, updates #23 2021-06-21 12:21:04 +02:00
Jan Mercl
0ef23b3928 update dependencies 2021-06-16 19:55:53 +02:00
Jan Mercl
24f76a561d update dependencies 2021-06-16 19:26:04 +02:00
Jan Mercl
56308939a8 windows/amd64: the failing test is symlink2.test, not symlink.test, updates #23 2021-06-13 19:11:44 +02:00
Jan Mercl
3bc18f992d add windows/amd64 support, updates #23 2021-06-13 18:48:40 +02:00
Jan Mercl
296a92e469 move the ff775b36 changes to testdata/overlay, updates #23 2021-06-13 18:09:57 +02:00
Jan Mercl
90665c42af Merge branch 'master' of gitlab.com:cznic/sqlite 2021-06-13 18:06:00 +02:00
Jan Mercl
3c08aa8b8b Disable symlink.test for windows/amd64, updates #23 2021-06-13 18:05:46 +02:00
Jan Mercl
bf0ba947a8 Disable symlink.test for windows/amd64 2021-06-13 18:04:46 +02:00
Jan Mercl
14c6ebc337 update dependencies 2021-06-12 14:58:16 +02:00
Jason DeBettencourt
cc37e09f4c close db after test case 2021-06-10 21:25:36 -04:00
Jason DeBettencourt
ff775b367c all_test.go - remove the temp db between scripts to prevent not quite closed/deleted/race.
malloc5.test - skip tests requiring memstats collection
pager1.test - skip 2 tests in non-functional sets.
snapshot_fault.test - skip test w/failing forcedelete
testdata/tcl/tester.tcl - fix get_pwd to return output of 'cd'
2021-06-09 18:44:35 -04:00
Saed SayedAhmed
0b2367747c Merge branch 'fix_security_vulnerabilities' into 'master'
update x/crypto to fix security vulnerability

See merge request cznic/sqlite!26
2021-05-29 19:11:16 +00:00
Saed SayedAhmed
700a58339a update x/crypto to fix security vulnerability 2021-05-29 19:11:16 +00:00