gwenn
b42833138b
Dedup free_boxed_value
2025-02-01 16:04:32 +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
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
c771c222cd
Bump bundled SQLite version to 3.47.0
2024-10-23 19:22:47 +02:00
gwenn
a00acd23a6
Use #[expect(lint)] where possible
2024-09-05 20:51:58 +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
Yuri Astrakhan
c32d7a79a2
Applied some spellchecker suggestions
2024-07-17 13:41:16 -04:00
gwenn
79fae3d93c
Improve test coverage ( #1490 )
...
Improve test coverage
2024-04-01 10:11:07 +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
gwenn
f48c5781a1
Introduce SqlFnArg
2024-01-21 10:22:10 +01:00
gwenn
83d67d5a29
Test sub-type
2024-01-20 19:16:48 +01:00
gwenn
13399c5808
Fix window impl
2024-01-20 17:22:58 +01:00
gwenn
7ed8e0ef2f
Introduce SqlFnOutput trait
...
To keep compatibility with existing code
2024-01-20 17:08:15 +01:00
gwenn
796358a312
Merge remote-tracking branch 'origin/master' into sub_type
2024-01-16 21:24:03 +01:00
Yuri Astrakhan
68c3083e34
Add #[derive(Clone, Copy...
on some bitflags / enum ( #1396 )
...
This will make it easier to use them, e.g. I won't need to re-create `FunctionFlags` for registering multiple similar functions.
2023-12-24 08:54:48 +01:00
Yuri Astrakhan
3b70307a94
Make WindowAggregate::value pass mutable value ref
2023-10-19 18:41:59 -04:00
gwenn
94bba92ba0
Fix clippy warning unnecessary_cast
2023-10-11 19:02:41 +02:00
Yuri Astrakhan
abbf3291ef
Use proper var names in trait definition
...
The underscores are too confusing, plus IDE automatically copies them into the implementation, and the `_` is not what most people would expect.
2023-10-06 21:31:50 -04:00
gwenn
5c1fefbef8
Merge branch 'master' into sub_type
2023-08-19 12:46:57 +02:00
Yuri Astrakhan
2e62b031bf
Spelling and a few more nits
...
* fix some simple spelling mistakes
* a few other minor prof-reading nits
2023-07-26 19:59:51 -04:00
gwenn
3db74e2f65
Inline constraint_error_code
...
because minimal SQLite version is 3.14
2023-07-08 10:09:33 +02:00
gwenn
503f02ee01
Cosmetic changes in tests
2022-11-11 16:32:42 +01:00
gwenn
784ef95bb6
Intoduce one_column for tests
2022-11-11 16:20:39 +01:00
gwenn
109e6faa94
modern_sqlite
not needed anymore
2022-10-30 09:12:42 +01:00
gwenn
40a5035c8a
Merge remote-tracking branch 'upstream/master' into sub_type
...
# Conflicts:
# src/functions.rs
2022-10-30 09:01:28 +01:00
gwenn
6766d6a6cd
Remove old_sqlite
feature
...
And associated bindgen_3.6.8.rs
2022-08-30 13:05:47 -07:00
gwenn
6e740d0611
Change default minimal SQLite API version
...
From 3.6.8 to 3.14.0.
Use `old_sqlite` feature to keep 3.6.8 (or 3.7.16) as the minimal version.
Use `modern_sqlite` for SQLite API > 3.14.0.
Also remove old 3.6.23 and 3.7.7 bindings.
2022-08-30 13:05:47 -07:00
gwenn
d5110ced91
Fix clippy warnings
2022-07-31 07:00:37 +02:00
gwenn
618e9a1274
Clean code
...
Typos, deprecated code usages, ...
2022-05-29 13:33:51 +02:00
gwenn
ee48859794
Make possible to specify subtype of SQL function
2022-04-07 10:43:16 +02:00
gwenn
5e2c103a0c
Add some missing wrappers ( #1139 )
...
* Add some missing wrappers:
sqlite3_value_subtype
sqlite3_result_subtype
sqlite3_changes64
sqlite3_db_readonly
sqlite3_txn_state
sqlite3_stmt_isexplain
sqlite3_vtab_config
sqlite3_index_info.idxFlags
sqlite3_index_info.colUsed
sqlite3_index_info.idxStr
sqlite3_vtab_collation
* Mark series VTab as innocuous and csv as direct only
2022-03-17 19:58:02 +01:00
gwenn
cc4f059d9b
Merge remote-tracking branch 'origin/master' into ptr_as_ptr
2022-01-06 18:20:01 +01:00
gwenn
c10e2f39ef
clippy::single_match_else
2022-01-06 04:56:59 -08:00
gwenn
406ac6a7fc
clippy::must_use_candidate
2022-01-06 04:56:24 -08:00
gwenn
01c4be82c8
clippy::doc_markdown
2022-01-06 04:54:10 -08:00
gwenn
43591154b2
clippy:ptr_as_ptr
2022-01-05 19:50:25 +01:00
trevyn
c759bc7527
Consolidate to FromSqlError::InvalidBlobSize
(breaking)
2022-01-02 18:24:56 -08:00
trevyn
7f09d295ba
Add ToSql/FromSql for [u8; N]
2022-01-02 18:24:56 -08:00
gwenn
934e0c709e
Fix callbacks lifetime
2021-12-01 04:28:09 -08:00
gwenn
612158507e
Fix callbacks lifetime
2021-12-01 04:28:09 -08:00
gwenn
30f8c8c502
Fix callbacks lifetime
2021-12-01 04:28:09 -08:00
gwenn
0312937d6a
Use #[doc(cfg)]
...
Fix #835
2021-06-13 09:17:35 +02:00
gwenn
1985e78fa6
Fix clippy warnings ( #959 )
...
Fix clippy warnings
2021-05-13 08:58:46 +02:00
Dirk Stolle
c33d6bfad3
fix several typos
2021-05-02 23:03:10 -07:00
gwenn
c4b398f468
Doctest column name reference ( #918 )
...
* Doctest column name reference
* Document rusqlite assumption on column name reference
And move doctest as a test.
* Document when columns metadata should be extracted.
* Rustfmt doc (wrap_comments)
2021-04-03 11:03:50 +02:00
Thom Chiovoloni
73f59a3a38
Merge pull request #866 from phiresky/pass-context-to-aggregate
2020-12-19 12:47:13 -08:00