1225 Commits

Author SHA1 Message Date
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
gwenn
e4448b5647 Fix RawStatement#clear_bindings 2024-03-09 14:37:33 +01:00
François
c91face552 format 2024-02-27 15:02:46 +01:00
François
695651ec32 typo 2024-02-27 14:57:58 +01:00
François
87e5e192e5 test_total_changes 2024-02-27 14:53:50 +01:00
François
673a69d3c6 expose total_changes() 2024-02-27 02:16:15 +01:00
gwenn
cd5b780505 Remove obsolete codes and comments
Minimal SQLite version supported by rusqlite is 3.14
2024-02-25 14:30:34 +01:00
gwenn
1124d4363d Fix clippy warnings 2024-02-24 11:02:09 +01:00
gwenn
28125461c7
Merge pull request #1160 from gwenn/sub_type
Make possible to specify subtype of SQL function
2024-02-04 10:50:29 +01:00
John Vandenberg
7ce841cd63 Replace intentional typo with typoless equivalent 2024-02-01 17:44:01 +08:00
John Vandenberg
52b01e40b2 Fix a few typos 2024-02-01 16:46:59 +08: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
Josh Stone
ef067b5eff Resolve FIXME to derive Debug for StatementCache 2024-01-09 15:57:41 -08: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
gwenn
675a9981cf Apply patch
529c3c8430/src/rusqlite/debian/patches/fix-tests-unsigned-char.patch
2023-12-16 10:01:53 +01:00
gwenn
7e086a5c91
Merge pull request #1417 from gwenn/pathological_case
Show pathological cases
2023-11-25 10:59:06 +01:00
gwenn
9ebca71317 Misc 2023-11-25 10:47:38 +01:00
gwenn
8675e453f3 Add unrelated test
just to keep code coverage the same
2023-11-25 10:36:07 +01:00
gwenn
87d81cd46b Check sqlite3_reset result
https://sqlite.org/c3ref/reset.html
> Therefore, it is important that applications check the return code from sqlite3_reset(S) even if no prior call to sqlite3_step(S) indicated a problem.
2023-11-25 10:13:55 +01:00
gwenn
50dca91698 Standard iterator vs Fallible iterator 2023-11-24 20:09:45 +01:00
gwenn
7dfbc4b8d1 Show pathological cases 2023-11-22 20:31:47 +01:00
gwenn
50f6d24185 Merge remote-tracking branch 'origin/master' into loadable_extension 2023-11-10 17:36:58 +00:00
Yuri Astrakhan
3b70307a94 Make WindowAggregate::value pass mutable value ref 2023-10-19 18:41:59 -04:00
gwenn
74c867d708 Merge remote-tracking branch 'origin/master' into loadable_extension 2023-10-16 18:56:03 +02:00
gwenn
476a02a595
Merge pull request #1346 from gwenn/captured_identifiers
Captured identifiers in SQL strings
2023-10-16 08:35:31 +02:00
gwenn
94bba92ba0 Fix clippy warning unnecessary_cast 2023-10-11 19:02:41 +02:00
gwenn
845761e498 Fix clippy warning redundant_guards 2023-10-11 18:49:27 +02:00
gwenn
c1eea9be00 Fix clippy warning: arc_with_non_send_sync - interrupt_lock 2023-10-11 18:30:34 +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
fb7774c6f5
Column is used only with column_decltype feature (#1385) 2023-09-04 20:59:28 +02:00
gwenn
8a3af637dd
Fix visibility of TransactionState (#1384)
Fix visibility of TransactionState
2023-09-03 15:47:10 +02:00
gwenn
e2e47de863 Fix some clipy warnings 2023-09-03 10:54:36 +02:00
gwenn
36f2459393 Rustfmt 2023-08-26 10:58:58 +00:00
gwenn
bbb570aabd Revert "Support Rust expression like {x.y} in SQL strings"
This reverts commit b86d9321b5538c0977bcc7f0fd12393f346b4e7f.
2023-08-21 19:42:06 +02:00
gwenn
b86d9321b5 Support Rust expression like {x.y} in SQL strings 2023-08-20 10:39:33 +02:00
gwenn
e8f73c93c4
Merge branch 'master' into captured_identifiers 2023-08-19 12:50:10 +02:00
gwenn
5c1fefbef8
Merge branch 'master' into sub_type 2023-08-19 12:46:57 +02:00
nydrani
55fd19ed07 Added documentation surrounding type conversion 2023-07-29 11:10:57 +10:00
nydrani
6268c71248 Add support for serializing timezone offsets for time::OffsetDateTime
Simplify deserializing `time::OffsetDateTime`
Add `YYYY-MM-DD HH:MM` support for `time::OffsetDateTime` and
`time::PrimitiveDateTime`
2023-07-29 11:09:36 +10:00
Paweł Jan Czochański
d05c976d52 Implement support for more time types
This PR implements support for the following types:
* `time::Time`
* `time::Date`
* `time::PrimitiveDateTime`
2023-07-28 22:40:07 +10: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
ce71e92fe2
Merge pull request #1341 from gwenn/serialize
Serialize and deserialize database
2023-07-21 19:01:25 +02:00
gwenn
81585a75cb Add Connection::extension_init2 2023-07-09 15:53:03 +02:00
gwenn
1308cdaa9d Loadable extension 2023-07-09 12:50:49 +02:00