gwenn
cad456575e
Fix test coverage
2024-07-27 10:39:52 +02:00
gwenn
e1cc3019af
Fix clippy warning
2024-07-27 10:31:50 +02:00
gwenn
dbe53e5d87
Oops
2024-07-27 10:24:52 +02:00
gwenn
377cf5730b
Add support to jiff Date / DateTime / Time
2024-07-27 10:22:46 +02:00
gwenn
d3e3c56474
Remove lazy_static dependency
...
Replaced by LazyLock
2024-07-27 07:38:47 +02:00
gwenn
3810178be0
Fix test
2024-07-23 19:28:21 +02:00
gwenn
a53bcd4769
Prevent interrupt from non-owned connection
...
Fix #1546
2024-07-23 19:19:44 +02:00
gwenn
dcc226c509
Fix clippy warnings
2024-07-21 16:09:21 +02:00
gwenn
ba019d747e
Merge pull request #1532 from seddonm1/feat/set-transaction-behavior
...
Allow setting default connection transaction behavior
2024-07-19 07:15:32 +02:00
Mike Seddon
484e01bada
cargofmt
2024-07-19 08:02:55 +10:00
Mike Seddon
0d948205ad
refactor to add examples and address comments
2024-07-18 07:24:34 +10:00
Yuri Astrakhan
c32d7a79a2
Applied some spellchecker suggestions
2024-07-17 13:41:16 -04:00
Mike Seddon
1891c39a5f
Allow setting default connection transaction behavior
2024-07-17 17:05:47 +10:00
dashangcun
fb2b7c769f
chore: fix some comments
...
Signed-off-by: dashangcun <jchaodaohang@foxmail.com>
2024-06-24 20:14:31 +08:00
gwenn
dbad1dd333
Fix parsing of virtual table parameters
2024-05-18 13:18:11 +02:00
gwenn
6218aa40ad
Merge pull request #1501 from gwenn/clippy
...
Fix clippy warning
2024-05-11 09:55:09 +02:00
gwenn
f78b64697a
Fix clippy warning
2024-05-11 09:48:53 +02:00
gwenn
718599d5f7
Improve Connection::extension_init2
2024-04-12 20:50:34 +02:00
gwenn
79fae3d93c
Improve test coverage ( #1490 )
...
Improve test coverage
2024-04-01 10:11:07 +02:00
Austin Schey
269dd72a76
check errors from sqlite3_preupdate_old and sqlite3_preupdate_new
2024-03-31 08:47:03 -05:00
Austin Schey
ba392cf104
fix syntax
2024-03-31 08:06:33 -05:00
Austin Schey
41cf19030a
minor changes to match other hooks
2024-03-31 08:04:09 -05:00
Austin Schey
0d56555875
Merge remote-tracking branch 'upstream/master' into preupdate_hook
2024-03-31 07:57:20 -05:00
gwenn
a0b410eb86
Use catch_unwind in init_auto_extension ( #1489 )
...
Use catch_unwind in init_auto_extension
2024-03-31 13:22:00 +02:00
gwenn
d8bcd4d28a
Check callbacks lifetime ( #1052 )
...
Check callbacks lifetime
2024-03-31 11:41:05 +02:00
gwenn
19b20e0fc3
Remove Ref/UnwindSafe constraint on FFI callback
...
As suggested here:
https://github.com/rusqlite/rusqlite/pull/1052#issuecomment-988455248
2024-03-31 11:11:19 +02:00
Austin Schey
475c2fc691
fix indentation
2024-03-30 12:53:52 -05:00
Austin Schey
dd92f1d6df
add static lifetime bound and compile test
2024-03-30 12:45:52 -05:00
gwenn
57a3a8f62e
Add bindings to automatic extension loading API ( #1487 )
...
* Add bindings to automatic extension loading API
it doesn't seem possible to directly register an `AutoExtension`.
2024-03-30 17:01:44 +01:00
Austin Schey
fb50d45bdf
remove extra lifetime
2024-03-30 10:49:12 -05:00
Austin Schey
b910eafee5
move preupdate hook to separate file
2024-03-30 06:15:58 -05:00
Austin Schey
45e9db3435
Merge remote-tracking branch 'midaslamb/preupdate_hook' into preupdate_hook
2024-03-30 06:07:36 -05:00
gwenn
381be988cc
Merge pull request #1230 from xpepermint/master
...
Respect missing values in session's conflict resolver
2024-03-29 09:24:46 +01:00
gwenn
25787021b7
Simplify code
2024-03-28 21:03:42 +01:00
gwenn
f6dd9c3a2c
Always activate SQLITE_OPEN_EXRESCODE for SQLite >= 3.37.0
2024-03-28 20:55:15 +01:00
gwenn
a016ed111b
Activate SQLITE_OPEN_EXRESCODE by default
...
I am not completly sure that it is fine to activate this flag with an old
SQLite version.
See http://sqlite.org/c3ref/open.html
> If the 3rd parameter to sqlite3_open_v2() is not one of the required combinations shown above optionally combined with other SQLITE_OPEN_* bits then the behavior is undefined.
2024-03-28 20:32:07 +01:00
gwenn
ed7434e958
Use C-string literals
2024-03-24 07:57:24 +01:00
gwenn
67bce659d0
Add test to Connection::backup/restore
2024-03-23 19:22:21 +01:00
gwenn
b23de4116a
Remove test_busy_timeout
2024-03-23 18:18:11 +01:00
gwenn
80c834157b
Fix test_busy_handler
2024-03-23 17:47:04 +01:00
gwenn
930e64a239
Fix Connection::db_name
2024-03-17 17:53:38 +01:00
gwenn
5d148358d6
Fix clippy warnings
2024-03-15 19:23:36 +01:00
gwenn
70c8c36832
Try to improve test coverage
2024-03-10 17:24:36 +01:00
gwenn
217354c093
Add binding to sqlite3_db_name
2024-03-10 16:57:30 +01:00
gwenn
3a44c47377
Fix clippy warnings
2024-03-10 12:00:34 +01:00
gwenn
87e324d720
Use CStr::to_str where possible
2024-03-10 11:53:29 +01:00
gwenn
a29fed8512
Add binding to sqlite3_is_interrupted
2024-03-10 10:17:03 +01:00
gwenn
ed061597d8
Try to fix warning
...
unused return value of `Rc::<T, A>::into_raw` that must be used
2024-03-10 09:22:23 +01:00
gwenn
cc9ecec3ad
Merge remote-tracking branch 'origin/master' into clear_bindings
2024-03-09 18:28:15 +01:00
gwenn
19acb79e6b
Fix clippy warning
2024-03-09 17:56:30 +01:00