gwenn
cd4e93493b
Merge remote-tracking branch 'origin/master' into register_ext
2024-04-13 10:09:56 +02:00
gwenn
5ed5a123a6
Merge pull request #1495 from gwenn/ci
...
Try to fix warnings
2024-04-13 10:08:17 +02:00
gwenn
3fcd3e10a9
Try to fix codecov error
2024-04-13 09:58:11 +02:00
gwenn
58b9df1cc8
Try to fix warnings
2024-04-13 09:33:27 +02:00
gwenn
9e60757f53
Fix warning
2024-04-12 20:58:44 +02:00
gwenn
718599d5f7
Improve Connection::extension_init2
2024-04-12 20:50:34 +02:00
gwenn
09adb9382c
Try to coverage load_extension
2024-04-01 11:12:36 +02:00
gwenn
cdb0712f81
Try to improve test coverage by using --all
2024-04-01 10:59:06 +02:00
gwenn
79fae3d93c
Improve test coverage ( #1490 )
...
Improve test coverage
2024-04-01 10:11:07 +02:00
gwenn
be2689106f
Merge pull request #1486 from aschey/preupdate_hook
...
Add preupdate hook
2024-03-31 19:14:52 +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
6cd70cc6bf
update comment
2024-03-31 08:28:16 -05:00
Austin Schey
63a1f1d3b0
add preupdate_hook to ci tests
2024-03-31 08:21:18 -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
8421769032
Merge pull request #1488 from gwenn/ffi_callback
...
Remove Ref/UnwindSafe constraint on FFI callback
2024-03-31 11:23:29 +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
Austin Schey
64bb1e861f
add preupdate_hook feature to README
2024-03-30 11:03:09 -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
ac79c66304
Merge pull request #1485 from gwenn/exrescode
...
Activate SQLITE_OPEN_EXRESCODE by default
2024-03-28 21:21:56 +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
b41bd80571
Merge pull request #1483 from gwenn/c-string-literals
...
Use C-string literals
2024-03-24 08:14:38 +01:00
gwenn
ed7434e958
Use C-string literals
2024-03-24 07:57:24 +01:00
gwenn
e00b626e2b
Merge pull request #1482 from gwenn/backup_to_path
...
Add test to Connection::backup/restore
2024-03-23 19:35:32 +01:00
gwenn
67bce659d0
Add test to Connection::backup/restore
2024-03-23 19:22:21 +01:00
gwenn
64fe11ee37
Merge pull request #1481 from gwenn/busy
...
Remove test_busy_timeout
2024-03-23 18:43:57 +01:00
gwenn
b23de4116a
Remove test_busy_timeout
2024-03-23 18:18:11 +01:00
gwenn
e66397b410
Merge pull request #1480 from gwenn/test_busy_handler
...
Fix test_busy_handler
2024-03-23 18:01:04 +01:00
gwenn
80c834157b
Fix test_busy_handler
2024-03-23 17:47:04 +01:00
gwenn
b0168b87bb
Merge pull request #1479 from gwenn/omit
...
Omit API
2024-03-23 11:01:26 +01:00
gwenn
4390720f9d
Omit API
...
sqlite3_close_v2 (for gced languages)
sqlite3_create_collation (vs sqlite3_create_collation_v2)
sqlite3_create_function (vs sqlite3_create_function_v2)
sqlite3_create_module (vs sqlite3_create_module_v2)
sqlite3_prepare (vs sqlite3_prepare_v2/v3)
2024-03-23 10:55:00 +01:00
gwenn
5e255eefa7
Merge pull request #1478 from gwenn/omit_utf16
...
Omit UTF-16 API
2024-03-23 10:15:34 +01:00
gwenn
ab5bb268be
Omit UTF-16 API
2024-03-23 10:05:49 +01:00
gwenn
20487e8c27
Merge pull request #1476 from gwenn/db_name
...
Fix Connection::db_name
2024-03-17 18:09:51 +01:00
gwenn
930e64a239
Fix Connection::db_name
2024-03-17 17:53:38 +01:00
gwenn
9d7e7526ce
Merge pull request #1474 from gwenn/3.45.2
...
Bump bundled SQLite version to 3.45.2
2024-03-16 09:41:12 +01:00
gwenn
62e834c314
Bump bundled SQLite version to 3.45.2
2024-03-16 09:20:58 +01:00
gwenn
983f08b8d7
Merge pull request #1473 from gwenn/clippy
...
Fix clippy warnings
2024-03-15 19:31:55 +01:00
gwenn
5d148358d6
Fix clippy warnings
2024-03-15 19:23:36 +01:00