gwenn
da7e87f62e
Unnecessary path prefix
2024-10-27 14:20:40 +01:00
gwenn
a00acd23a6
Use #[expect(lint)] where possible
2024-09-05 20:51:58 +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
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
217354c093
Add binding to sqlite3_db_name
2024-03-10 16:57:30 +01:00
gwenn
74c867d708
Merge remote-tracking branch 'origin/master' into loadable_extension
2023-10-16 18:56:03 +02:00
gwenn
e2e47de863
Fix some clipy warnings
2023-09-03 10:54:36 +02: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
dd05c992c2
Merge pull request #1267 from gwenn/clippy
...
[breaking change] Update edition from 2018 to 2021
2023-06-17 07:44:02 +02:00
gwenn
aca28e6509
Fix clippy warning
2023-06-08 20:10:24 +02:00
gwenn
687aeef3b0
Introduce to_sqlite_error
...
643c0f699f
One small step to support creating loadable extension
2023-06-08 20:01:17 +02:00
gwenn
5848c8c147
Draft of serialize API
2023-06-04 19:08:49 +02:00
gwenn
3aa9addaa3
[breaking change] Update edition from 2018 to 2021
...
And fix clippy warnings
2022-12-09 20:19:04 +01:00
gwenn
6d509afe49
Clippy
2022-10-28 19:02:49 +02:00
gwenn
15d56bcb52
Fix sqlcipher build
2022-08-30 13:05:47 -07:00
gwenn
618e9a1274
Clean code
...
Typos, deprecated code usages, ...
2022-05-29 13:33:51 +02:00
gwenn
8f40fd1cf3
Fix build errors with SQLCipher
2022-04-21 15:26:46 +02:00
gwenn
8370970b0b
Keep track of SQL input
2022-04-21 15:14:08 +02:00
gwenn
cfcbb56fce
Merge remote-tracking branch 'origin/master' into error_offset
...
# Conflicts:
# src/statement.rs
2022-04-20 07:27:05 +02:00
Nikolai Vazquez
b0993a1d99
Add Error
methods to get SQLite error values
2022-04-06 20:27:01 -04: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
69a40526d5
Introduce SqlInputError with offset
2022-03-13 17:31:07 +01:00
trevyn
c759bc7527
Consolidate to FromSqlError::InvalidBlobSize
(breaking)
2022-01-02 18:24:56 -08:00
gwenn
7056e656ac
Remove check macro
...
Can be replaced by a simple function and ? operator.
2021-07-04 15:52:31 +02:00
gwenn
0312937d6a
Use #[doc(cfg)]
...
Fix #835
2021-06-13 09:17:35 +02: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
gwenn
6fae5d6641
Add/fix rustdoc links
2020-11-22 09:34:03 +01:00
Thom Chiovoloni
65c38bf813
Add #[inline]
and #[cold]
in far more places
2020-11-04 07:59:23 -08:00
gwenn
b448d95510
Merge remote-tracking branch 'upstream/master' into progress_handler
2020-10-28 21:21:19 +01:00
gwenn
76ad2bf19c
Rustfmt
2020-10-28 21:12:29 +01:00
Thom Chiovoloni
7cd909fc14
Add positional blob i/o and adjust blob i/o example docs
2020-10-04 15:48:10 -07:00
gwenn
76fc22c653
Fix missing docs
2020-05-21 00:48:06 -07:00
Thom Chiovoloni
38aea89809
Remove implementations of std::error::Error::description
2020-04-12 12:06:53 -07:00
Thom Chiovoloni
53c99f940e
Fix up conventions around unsafe in internal functions
2020-04-07 10:04:18 -07:00
Thom Chiovoloni
5ef73f6c8c
Implement std::error::Error::source instead of cause ( #683 )
2020-04-06 18:12:22 -07:00
Thom Chiovoloni
0394e114d0
Return an error instead of panicing when parameter count is wron… ( #675 )
...
Fixes #671
2020-04-06 12:47:35 -07:00
Thom Chiovoloni
6f6f7ffd9f
Add #[non_exhaustive]
to enums that might get new variants. ( #673 )
...
This just using them in patterns without a catchall. I left things alone
that seem very unlikely to change (`Value`, `ValueRef`, `DatabaseName`,
etc...). This might help reduce the number of breaking changes we need
(rusqlite is still pre-1.0 so it doesn't really matter that much, but
breaking changes complicate the story around when we can cut releases).
2020-04-06 12:01:39 -07:00
gwenn
adb904650d
Fix warnings related to deprecated Error::description
2020-01-26 16:57:58 +01:00
gwenn
8302a50fb8
Fix clippy warnings
2019-11-03 11:19:07 +01:00
gwenn
c6a5fd402c
Merge remote-tracking branch 'jgallagher/master' into tail
2019-08-31 09:30:25 +02:00
gwenn
bcd26ca062
Merge remote-tracking branch 'jgallagher/master' into tail
...
# Conflicts:
# src/inner_connection.rs
# src/lib.rs
2019-08-26 20:41:15 +02:00
gwenn
dcc43fa445
Fix warnings
2019-08-09 20:06:31 +02:00
gwenn
e4fecf7fb8
Rustfmt
2019-08-09 20:03:46 +02:00
Kornel
010794e091
Conversion from FromSqlError to Error
...
Fixes #555
2019-08-04 21:24:50 +01:00
gwenn
208f3c084b
Clippy: fix warnings
2019-07-10 21:10:12 +02:00
Thom Chiovoloni
4356f5a176
Include the name of the column in InvalidColumnType errors
2019-06-25 12:20:11 -07:00
gwenn
e8e76852bd
Merge remote-tracking branch 'jgallagher/master' into tail
2019-02-02 13:22:40 +01:00
Thom Chiovoloni
b6539a0fbf
Make get_aux safe by storing the TypeId
2019-01-26 00:52:50 -08:00