Commit Graph

1867 Commits

Author SHA1 Message Date
Paweł Kubrak
ca37ea2569 Add as_type_or_null to ValueRef 2021-08-17 19:21:59 -07:00
Thom Chiovoloni
e92e8a0924 Use a generic ToSql param in pragma functions 2021-08-01 11:12:08 -07:00
gwenn
a09a4e9346
Merge pull request #1008 from thomcc/disable-bindgen-ci
CI: Temporarially disable coverage for features that require bindgen
2021-08-01 07:04:39 +02:00
Thom Chiovoloni
a55101fbfa CI: Temporarially disable coverage for features that require bindgen 2021-07-31 14:58:06 -07:00
Thom Chiovoloni
1e80b8165f Apply review feedback (fix upgrade.sh) 2021-07-31 14:40:00 -07:00
Thom Chiovoloni
28cd67300b Include the session FFI in the bundled bindings 2021-07-31 14:40:00 -07:00
gwenn
9eb97aa9dd
Merge pull request #970 from gwenn/time-fmt
Fix FromSql impl for OffsetDateTime
2021-07-31 11:41:55 +02:00
gwenn
0241350af3 Check Rfc3339 before stripping Z
So that "2013-10-07T08:23:19Z" and "2013-10-07T08:23:19.120Z" are
correctly parsed.
2021-07-31 11:05:42 +02:00
gwenn
7e74952e2e
Merge pull request #1006 from gwenn/constraints_and_usages
Iterate on both index constraint and usage
2021-07-31 10:01:37 +02:00
gwenn
0075671b09 Upgrade time crate to version 0.3.0 2021-07-30 21:31:52 +02:00
gwenn
b3f8c283f1 Merge remote-tracking branch 'upstream/master' into time-fmt 2021-07-30 21:24:51 +02:00
gwenn
6f4283be94 Iterate on both index constraint and usage 2021-07-29 19:48:34 +02:00
Thom Chiovoloni
db914abd00 Make the empty placeholder params be Send + Sync 2021-07-28 13:45:28 -04:00
gwenn
6450565cc7
Merge pull request #986 from gwenn/remove_check_macro
[Cosmetic] Remove check macro
2021-07-27 18:59:53 +02:00
gwenn
187d1fec07 Merge remote-tracking branch 'upstream/master' into remove_check_macro
# Conflicts:
#	src/blob/pos_io.rs
2021-07-27 18:36:44 +02:00
gwenn
01b52990da
Merge pull request #988 from gwenn/error_handle
Retrieve error message from database connection handle
2021-07-27 18:31:42 +02:00
gwenn
569893531e
Merge pull request #987 from gwenn/checked_memory_handle
[Cosmetic] Replace some usages of checked_memory_handle
2021-07-27 18:20:02 +02:00
gwenn
50097e1e44 Fix unused import 2021-07-27 18:17:07 +02:00
Jiahao XU
0241cb0388 Fix the typename used in doc for VTab and VTabCursor
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2021-07-25 22:30:44 -04:00
gwenn
b17942125f
Merge pull request #994 from gwenn/bindgen
Upgrage bindgen to version 0.59
2021-07-21 18:59:42 +02:00
gwenn
7c2263dabc Upgrage bindgen to version 0.59 2021-07-21 18:48:05 +02:00
gwenn
2dea70304d Retrieve error message from database connection handle 2021-07-04 16:53:40 +02:00
gwenn
7ddf1316a2 Replace some usages of checked_memory_handle
In tests which return Result, we don't need to unwrap.
2021-07-04 16:04:13 +02:00
gwenn
7056e656ac Remove check macro
Can be replaced by a simple function and ? operator.
2021-07-04 15:52:31 +02:00
gwenn
10da56788c
Merge pull request #985 from gwenn/cache_flush
Access to sqlite3_db_cacheflush via Connection
2021-07-03 18:02:34 +02:00
gwenn
1970b60109 Add minimal test for cache_flush 2021-07-03 17:03:58 +02:00
gwenn
653e64ab98 Access to sqlite3_db_cacheflush via Connection
Fix #984
2021-07-03 16:41:55 +02:00
gwenn
b3bd775f90
Merge pull request #983 from thomcc/value_ref-as_bytes
Add a helper function for getting the byte data from a ValueRef, regardless of if its Text or Blob
2021-07-03 07:23:30 +02:00
Thom Chiovoloni
15d3ae30e3 Add a helper function for getting the byte data from a value ref regardless of if its Text or Blob 2021-07-02 17:12:05 -07:00
gwenn
dcaa67a617
Merge pull request #973 from gwenn/doc_cfg
Use #[doc(cfg)]
2021-06-30 18:07:54 +02:00
gwenn
c8faf3e235
Merge pull request #979 from gwenn/3.36.0
Bump bundled sqlite3 version to 3.36.0
2021-06-29 18:07:35 +02:00
gwenn
0c348c9eb0 Fix clippy warning 2021-06-28 19:05:37 +02:00
gwenn
c670b6d653 Temporary allow deref_nullptr in tests
As a workaround to https://github.com/rust-lang/rust-bindgen/issues/2066
2021-06-28 19:04:27 +02:00
gwenn
a596482ab1 Bump bundled sqlite3 version to 3.36.0 2021-06-27 11:14:12 +00:00
gwenn
5730b2f952 Fix clippy warnings 2021-06-25 18:57:25 -07:00
gwenn
b14e326181 Use format_description macro 2021-06-14 21:34:05 +02:00
gwenn
fc9f03c1ca Make tests more succint by using Rfc3339 string 2021-06-14 20:49:59 +02:00
gwenn
2ddbebad97 Merge remote-tracking branch 'origin/master' into doc_cfg 2021-06-14 20:19:23 +02:00
gwenn
781d5b9fdd
Merge pull request #975 from gwenn/authorizer
Fix AuthContext / Authorization visibility
2021-06-14 19:54:22 +02:00
gwenn
83e8c96ae9 Fix InnerConnection::authorizer visibility 2021-06-14 19:26:09 +02:00
gwenn
34c9aed592
Merge pull request #974 from gwenn/inner
Fix InnerConnection decode_result / changes
2021-06-14 19:13:21 +02:00
gwenn
73fd16958e Fix missing docs 2021-06-13 10:57:01 +02:00
gwenn
a2756ffbb0 Fix AuthContext / Authorization visibility
Fix #972
Breaking change: Action is not visible from root anymore
2021-06-13 10:46:00 +02:00
gwenn
9cdf80f3ca Fix InnerConnection decode_result / changes
Fix #931
2021-06-13 10:39:36 +02:00
gwenn
0312937d6a Use #[doc(cfg)]
Fix #835
2021-06-13 09:17:35 +02:00
gwenn
bcf28fec35 Fix FromSql impl for OffsetDateTime
Fix test doc
2021-06-12 18:54:29 +02:00
gwenn
125f5dfbde Fix FromSql impl for OffsetDateTime
Use time 0.3.0-alpha-1
2021-06-12 18:29:01 +02:00
gwenn
5baaa9a224 Fix FromSql impl for OffsetDateTime
Reveal bugs
2021-06-12 12:04:10 +02:00
gwenn
78e4036f90 Fix FromSql impl for OffsetDateTime
See 'Missing datetime format support' #968
2021-06-11 21:42:02 +02:00
gwenn
ee7f7b89d5
Add time back to modern-full feature (#969)
See https://github.com/time-rs/time/issues/292
Update CI build file accordingly
2021-06-11 19:59:09 +02:00