Commit Graph

2059 Commits

Author SHA1 Message Date
gwenn
79b6fd6e61 Merge remote-tracking branch 'upstream/master' into modern_vtab
# Conflicts:
#	src/vtab/mod.rs
2022-09-02 20:33:21 +02:00
gwenn
dae4390c5e Reuse constants already defined in SQLite <= 3.14.0 2022-09-02 20:04:18 +02:00
gwenn
2dd11143c9 Remove min_sqlite_version_3_7_16 feature
And associated bindgen
2022-08-30 13:05:47 -07:00
gwenn
6766d6a6cd Remove old_sqlite feature
And associated bindgen_3.6.8.rs
2022-08-30 13:05:47 -07:00
gwenn
15d56bcb52 Fix sqlcipher build 2022-08-30 13:05:47 -07:00
gwenn
987755f58e Oops 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
2d9621b8ae Include vtablog only with modern_sqlite feature
Make array, csvtab, series module work with either modern_sqlite or buildtime_bindgen
2022-08-17 19:24:42 +02:00
gwenn
5ea4c3b7d6
Merge pull request #1212 from Cosmian/bump-sqcipher
bump sqlcipher to 4.5.2
2022-08-17 18:14:25 +02:00
heavenboy8
569b19c160 update code to fit the last rust version requirements 2022-08-17 08:28:12 +02:00
heavenboy8
f6da1acefc bump sqlcipher to 4.5.2 2022-08-17 08:28:08 +02:00
Daniel Kahn Gillmor
53b1b598cb Drop bindgen layout tests
The auto-generated bindgen layout tests are architecture dependent and
cause breakage on 32-bit platforms at least.

Note that this does not yet remove the layout tests from
bindgen-bindings/bindgen_*.rs -- i'm not sure how those are generated.

Addresses: #722
2022-08-16 14:26:58 -07:00
gwenn
350c8de1b0
Merge pull request #1208 from gwenn/clippy
Fix clippy warnings
2022-07-31 07:08:58 +02:00
gwenn
d5110ced91 Fix clippy warnings 2022-07-31 07:00:37 +02:00
Thom Chiovoloni
12fc73d122 Bump libsqlite3-sys patch version number 2022-07-22 02:32:53 -07:00
Thom Chiovoloni
d4c1b22c42 Bump libsqlite3-sys to 3.39.2 2022-07-22 02:32:53 -07:00
gwenn
1cca048058
Merge pull request #1204 from gwenn/3.39.1
Upgrade SQLite bundled version to 3.39.1
2022-07-17 19:32:50 +02:00
gwenn
98281f8a5b Upgrade SQLite bundled version to 3.39.1 2022-07-17 17:23:47 +00:00
gwenn
26293a11f5
Merge pull request #1202 from gwenn/0.28.0
Prepare for next release
2022-07-14 13:57:09 +02:00
gwenn
153d8fbc71 Prepare for next release 2022-07-14 13:44:05 +02:00
gwenn
a12cde2211
Merge pull request #1200 from gwenn/3.39.0
Upgrade SQLite bundled version to 3.39.0
2022-06-28 18:59:07 +02:00
gwenn
efff01cd4a Upgrade SQLite bundled version to 3.39.0 2022-06-28 16:43:01 +00:00
gwenn
289a72976e
Merge pull request #1196 from gwenn/bindgen
Upgrade bindgen to version 0.60
2022-06-07 22:17:47 +02:00
gwenn
441b03cbf9 Upgrade bindgen to version 0.60 2022-06-07 20:08:11 +02:00
gwenn
d6780ece27
Merge pull request #1194 from gwenn/clean
Clean code
2022-05-29 20:15:18 +02:00
gwenn
618e9a1274 Clean code
Typos, deprecated code usages, ...
2022-05-29 13:33:51 +02:00
gwenn
cf3d9d9de8
Merge pull request #1193 from gwenn/clippy
Fix clippy warnings (derive_partial_eq_without_eq)
2022-05-29 11:47:35 +02:00
gwenn
d9b79a5f9e Fix clippy warnings (derive_partial_eq_without_eq) 2022-05-29 11:32:47 +02:00
gwenn
0af215cb36
Merge pull request #1109 from pratikpc/patch-1
README: document winsqlite3
2022-05-26 07:57:35 +02:00
gwenn
b804fce9e6
Merge pull request #1115 from polyrand/fix-libsqlite-flag-typo
Fix typo in libsqlite flags variable
2022-05-26 07:53:41 +02:00
gwenn
e6fdec7334
Merge pull request #1179 from lmburns/debug_savepoint
Derive `Debug` for `Savepoint`
2022-05-26 07:51:30 +02:00
gwenn
5ca189ed4f
Merge pull request #1191 from gwenn/memchr
Remove unused memchr dependency
2022-05-26 07:49:52 +02:00
gwenn
7a6a2d01d4 Upgrade regexp dev dependency 2022-05-26 07:34:50 +02:00
gwenn
42acaec9bc Remove unused memchr dependency 2022-05-26 07:33:37 +02:00
Lucas Burns
e669609734
chore: derive Debug for Savepoint 2022-05-05 13:00:49 -05:00
gwenn
b411d27b54
Merge pull request #1174 from gwenn/3.38.3
Upgrade SQLite bundled version to 3.38.3
2022-04-30 10:58:39 +02:00
gwenn
c3c6c71391 Upgrade SQLite bundled version to 3.38.3 2022-04-30 07:23:21 +00:00
gwenn
7b0fb7d1b1
Merge pull request #1137 from gwenn/error_offset
Introduce SqlInputError with offset
2022-04-24 08:20:20 +02:00
gwenn
c313cd770d Params for 28-length arrays 2022-04-23 21:32:19 -07: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
20e626e0de
Merge pull request #1168 from gwenn/returning
Bundled SQLCipher is now based on SQLite > 3.35
2022-04-21 13:59:58 +02:00
gwenn
c15fa489ad Bundled SQLCipher is now based on SQLite > 3.35 2022-04-21 13:34:20 +02:00
gwenn
2561cc5bda
Merge pull request #1167 from gwenn/uuid
Upgrade uuid dependency
2022-04-20 17:21:59 +02:00
gwenn
616781957e Upgrade uuid dependency 2022-04-20 17:08:00 +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
gwenn
26c444341c Do not use Connection::handle()
https://docs.rs/rusqlite/latest/rusqlite/struct.Connection.html#method.handle
```
You should not need to use this function...
```
And use `decode_result`...
2022-04-18 08:59:49 -07:00
Max Unsted
95941f6378 derive Eq for Type 2022-04-17 13:28:48 -07:00
Nikolai Vazquez
4d06d2222f Add Connection::release_memory method
This is behind a new `release_memory` feature flag. It simply calls
`sqlite3_db_release_memory` on the raw handle.
2022-04-17 08:40:36 -07:00
gwenn
7fb2d378af
Merge pull request #1159 from gwenn/sqlite_error_code
Use sqlite_error_code where possible
2022-04-12 15:19:53 +02:00