gwenn
f9d69410ef
Fix panic at 'SQLite API not initialized or SQLite feature omitted'
...
`to_sqlite_error` needs `sqlite3_malloc`
```
sqlite> .log on
sqlite> .load target/debug/examples/libloadable_extension.so
Error: error during initialization: SQLite version mismatch: 3014000 < 3042000
```
2023-07-14 15:56:43 +02:00
gwenn
81585a75cb
Add Connection::extension_init2
2023-07-09 15:53:03 +02:00
gwenn
92c536b622
Remove parse_macros (fails with wrapper_ext.h)
2023-07-09 14:17:19 +02:00
gwenn
1308cdaa9d
Loadable extension
2023-07-09 12:50:49 +02:00
gwenn
60f5cef17b
Factorize code in build.rs
2023-07-09 09:21:40 +02:00
gwenn
44edb4b459
Fix clippy warning
2023-07-08 11:11:14 +02:00
gwenn
58113b0777
Simplify bindgen generation
...
`rusqlite` users cannot use old versions (< 3.8.3) of SQLite anymore.
And `libsqlite3-sys` users should not use SQLITE_DETERMINISTIC when
using SQLite < 3.8.3.
2023-07-08 10:39:36 +02:00
gwenn
518f0195df
Tweak bindgen
2023-06-18 11:48:15 +02:00
gwenn
567a871e70
Tweak bindgen
2023-06-17 16:09:53 +02:00
gwenn
a40289de3b
Bump bindgen version to 0.66
2023-06-16 18:24:46 +02:00
gwenn
6e9d8eafde
Fix type of SQLITE_DESERIALIZE_*, SQLITE_PREPARE_*, SQLITE_SERIALIZE_*
2023-06-04 10:31:44 +00:00
gwenn
9d502c4995
Use SQLITE_PREPARE_PERSISTENT for CachedStatement
2023-06-03 11:17:19 +02:00
gwenn
72f9b0109f
Bump bundled SQLite version to 3.42.0
2023-05-31 08:30:58 +00:00
Nop Jiarathanakul
4c6d915d0f
add SQLITE_MAX_COLUMN compile option
2023-05-09 13:19:25 -07:00
Stanislav Golubtsov
ef4a0ac09d
fix compilation for target wasm32-wasi
2023-05-02 18:32:56 +02:00
icp
b4604f2421
Force linking against system sqlite libs
...
This commit introduces new env var, LIBSQLITE3_SYS_USE_PKG_CONFIG,
which can be set to non-zero values to force building against sqlite
libraries from the system overriding bundled features.
2023-04-17 01:23:40 +05:30
gwenn
1180a4f943
Fix clippy warning
2023-04-14 20:55:16 +02:00
gwenn
323331eae6
Bump bindgen version
2023-04-14 20:45:37 +02:00
gwenn
8ac4780526
Merge pull request #1310 from gwenn/sqlite3_auto_extension
...
Fix sqlite3_auto_extension xEntryPoint signature
2023-03-27 19:38:56 +02:00
gwenn
8419b021bd
Prepare next release
2023-03-26 10:24:57 +02:00
gwenn
7dac07be13
Rustfmt
2023-03-25 16:15:05 +01:00
gwenn
a5c460a8f7
Fix sqlite3_cancel_auto_extension
2023-03-25 15:38:24 +01:00
gwenn
bef2472bfb
Fix sqlite3_auto_extension xEntryPoint signature
2023-03-25 11:47:27 +01:00
gwenn
c5f0b27693
Fix sqlite3_auto_extension xEntryPoint signature
2023-03-25 11:33:33 +01:00
gwenn
420bf08489
Fix clippy warnings
2023-03-25 10:34:47 +01:00
gwenn
eb7fbc57d0
Use ParseCallbacks::item_name to fix sqlite3_index_info_* types
2023-03-25 10:19:56 +01:00
gwenn
8ad6149307
Bump bundled SQLite3 to version 3.41.2
2023-03-23 19:03:05 +00:00
gwenn
8a263963f4
Upgrade bundled SQLite version to 3.41.1
2023-03-13 17:53:49 +00:00
gwenn
70e37f8540
Upgrade bundled SQLite3 sources to version 3.41.0
2023-02-24 18:40:34 +00:00
gwenn
9880cdef12
Merge pull request #1271 from ssrlive/patch-1
...
Linkage issue in windows
2023-02-14 20:59:47 +01:00
gwenn
a46f953134
Upgrade bindgen
2023-02-09 19:02:14 +01:00
Thom Chiovoloni
222ec9c22e
Update vendored SQLcipher to 4.5.3 (compatible with SQLite 3.39.4)
2023-01-04 21:26:49 -05:00
Thom Chiovoloni
272f3cef9c
Update vendored SQLite to 3.40.1
2023-01-04 21:26:49 -05:00
ssrlive
279be83bcf
Update build.rs
2022-12-23 09:31:58 +08:00
ssrlive
8785bd903a
Update build.rs
2022-12-22 21:05:48 +08:00
gwenn
d015b73862
Upgrade bingen
2022-11-25 19:59:00 +01:00
gwenn
9da4e846a0
Upgrade SQLite bundled version to 3.40.0
2022-11-20 09:57:22 +00:00
gwenn
79252ef82c
Upgrade bindgen
2022-11-19 12:37:49 +01:00
gwenn
6d509afe49
Clippy
2022-10-28 19:02:49 +02:00
Thom Chiovoloni
b86acc1d79
Merge branch 'hotfix-sys-0.25.2'
2022-10-26 19:43:15 -07:00
Thom Chiovoloni
6e20eb2182
Regenerate bundled SQLcipher (cherry-picking went wrong?)
2022-10-26 19:39:38 -07:00
Thom Chiovoloni
589524ab6e
Bump libsqlite3-sys version to 0.25.2
2022-10-26 19:39:38 -07:00
heavenboy8
2585881991
bump sqlcipher to 4.5.2
2022-10-26 19:39:38 -07:00
gwenn
02b3f07079
Upgrade bindgen to version 0.61
2022-10-18 20:17:31 +02:00
gwenn
ff1b3d5ed4
Merge pull request #1223 from gwenn/const
...
Reuse constants already defined in SQLite <= 3.14.0
2022-10-05 19:30:17 +02:00
gwenn
da9c831b9d
Upgrade SQLite bundled version to 3.39.4
2022-10-04 17:23:35 +00:00
gwenn
c5b63f67f0
Upgrade SQLite bundled version to 3.39.3
2022-09-12 16:48:20 +00: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