stdonnelly
918cdee50a
Update error type for ValueRef
methods
2025-01-27 13:13:55 -05:00
gwenn
d9c88a230d
Bump bundled SQLite version to 3.48.0
2025-01-15 18:08:03 +01:00
gwenn
0324a97e07
Fix clippy warning
2024-12-08 17:09:03 +01:00
gwenn
e025f283f5
Introduce err macro
2024-12-08 17:02:58 +01:00
gwenn
d80834bfe5
Check limit
...
See https://sqlite.org/forum/forumpost/0ea7672a43
2024-12-07 13:06:17 +01:00
gwenn
61410466cf
Add release_memory test
2024-12-07 12:05:05 +01:00
gwenn
9e09a8b9e8
Remove release_memory feature
...
Because `sqlite3_db_release_memory` is available in 3.14.0 (min version
supported by rusqlite)
And:
<http://sqlite.org/c3ref/db_release_memory.html >
> Unlike the sqlite3_release_memory() interface, this interface is in effect even when the SQLITE_ENABLE_MEMORY_MANAGEMENT compile-time option is omitted.
2024-12-07 11:57:44 +01:00
gwenn
62a8ec5371
Oops
2024-12-07 11:29:07 +01:00
gwenn
524fce5a19
Check if specified arg
is out-of-range for auxiliary data
...
But do not check lower-bound because of undocumented behavior.
2024-12-07 11:10:47 +01:00
gwenn
37c50d3f98
Try to fix CI error with sqlcipher
2024-12-07 10:54:07 +01:00
gwenn
530292d873
Use a default error message instead
2024-12-07 09:43:52 +01:00
gwenn
d142c00a1c
Use sqlite3_errstr
...
when `sqlite3_errcode` doesn't match result code.
Mostly with SQLITE_MISUSE.
2024-12-06 21:19:42 +01:00
gwenn
edc59b0910
Test trace_v2
2024-11-12 19:17:59 +01:00
gwenn
97c6e88bfd
Introduce StmtRef / ConnRef
2024-11-11 18:02:54 +01:00
gwenn
d0565767e9
Add bindings to sqlite3_trace_v2
2024-11-11 12:37:28 +01:00
gwenn
f1ca01afbf
Test checkpoint_v2
2024-11-10 20:08:28 +01:00
gwenn
cd0fc4e4f3
Use decode_result_raw instead of check
2024-11-10 19:28:01 +01:00
gwenn
79723ef343
Merge remote-tracking branch 'origin/master' into wal_hook
2024-11-10 17:44:09 +01:00
gwenn
9f919459d0
Fix merge conflict
2024-11-10 17:23:04 +01:00
gwenn
aa5a4a2cf0
Oops
2024-11-10 17:07:48 +01:00
gwenn
3d85c79891
Use C string literal for database name
...
No alloc for "main" and "temp".
No alloc possible when the attached database name is known at compile time / a C
string literal can be usd.
No alloc when the database name is given by SQLite (`sqlite3_wal_hook`).
2024-11-10 16:56:03 +01:00
gwenn
cee97e9729
Make possible to checkpoint a database from wal_hook
2024-11-10 15:40:57 +01:00
gwenn
6db7d47c36
Fix clippy warning
2024-11-10 12:01:06 +01:00
gwenn
506ecb91d0
Add safe binding to sqlite3_wal_hook
2024-11-10 11:54:57 +01:00
patr0nus
5f6ac80e7a
FnMut -> Fn in create_scalar_function
...
Change FnMut to Fn in InnerConnection::create_scalar_function
cast user data as shared reference
2024-11-07 21:07:09 +08:00
gwenn
da7e87f62e
Unnecessary path prefix
2024-10-27 14:20:40 +01:00
gwenn
4ec54f1a12
unwrap()
can be replaced with ?
2024-10-27 14:08:37 +01:00
gwenn
c771c222cd
Bump bundled SQLite version to 3.47.0
2024-10-23 19:22:47 +02:00
gwenn
f776c770ab
Test invalid batch
2024-10-19 10:27:10 +02:00
gwenn
08e1cea37c
Fix clippy warning
2024-10-18 20:13:06 +02:00
gwenn
35c9bb8cb0
Fix doc example
2024-10-18 20:10:35 +02:00
gwenn
0bf85a801c
Fix Batch impl
...
- document that there is no parsing error recovery
- and remove `Iterator` impl to prevent users from looping indefinitely
on Some(Err(..))
2024-10-18 19:58:33 +02:00
gwenn
e8b88a058f
Fix more Clippy needless_lifetimes warnings
2024-10-18 19:29:17 +02:00
gwenn
da05a1f1b5
Fix Clippy needless_lifetimes warnings
2024-10-11 19:02:15 +02:00
naglis
f63f43e60f
Remove leftover sentence beginning
2024-09-26 13:29:07 +03:00
gwenn
1cb5d711a4
Keep using #[allow(missing_docs)]
2024-09-07 07:59:46 +02:00
gwenn
a00acd23a6
Use #[expect(lint)] where possible
2024-09-05 20:51:58 +02:00
gwenn
69974d6452
Document an alternive way to backup
2024-09-01 13:15:51 +02:00
H2CO3
af1befed41
Applied cargo fmt
2024-08-27 19:59:43 +02:00
H2CO3
12fbdfa5b1
Cater to rustfmt
2024-08-26 19:43:04 +02:00
H2CO3
daf7883920
impl FromSql
for various heap-allocated string and blob slices
2024-08-26 18:28:47 +02:00
OldEnglishSheepdog
db0afab183
Repairing description comment of params! macro
2024-08-17 22:01:11 +02:00
OldEnglishSheepdog
0cb7608419
Correcting inconsistent parameter name (:value/:val) in doctest
2024-08-15 17:47:17 +02:00
gwenn
68e18d78dd
clippy::needless_raw_string_hashes
2024-08-10 15:32:08 +02:00
gwenn
67d2027162
clippy::doc_markdown
2024-08-10 15:27:19 +02:00
gwenn
9189b54fc7
clippy::manual_string_new
2024-08-10 15:09:26 +02:00
gwenn
c5e67dfe91
clippy::map_unwrap_or
2024-08-10 15:04:42 +02:00
gwenn
000278b9a2
clippy::uninlined_format_args
2024-08-10 14:53:25 +02:00
gwenn
f2ee7018ef
clippy::manual_let_else
2024-08-10 14:46:49 +02:00
gwenn
0c3933b68c
clippy::use_self
2024-08-10 14:39:36 +02:00