gwenn
214a6244f9
Rustfmt
2022-04-07 09:17:07 +02:00
gwenn
fedf6b41ae
Use sqlite_error_code where possible
2022-04-07 09:15:55 +02:00
gwenn
f54e550b2b
Merge pull request #1158 from nvzqz/sqlite-error
...
Add `Error` methods to get SQLite error values
2022-04-07 07:16:34 +02:00
Nikolai Vazquez
b0993a1d99
Add Error
methods to get SQLite error values
2022-04-06 20:27:01 -04:00
gwenn
33e5f127cf
Check current SQLite version while registering module
2022-04-04 06:24:51 -07:00
gwenn
6e0684b69f
Rustfmt
2022-04-04 06:24:51 -07:00
gwenn
106e46c424
Actually test DELETE, INSERT, UPDATE on vtablog
2022-04-04 06:24:51 -07:00
gwenn
aa511ea337
Fix clippy warning
2022-04-04 06:24:51 -07:00
gwenn
fe1150b0cf
Port vtablog
as an example of a writable VTab
2022-04-04 06:24:51 -07:00
gwenn
762321c15e
Introduce macro to avoid code duplication
2022-04-04 06:24:51 -07:00
gwenn
f04bec2fd5
Updatable eponymous virtual table
2022-04-04 06:24:51 -07:00
gwenn
3787f432a4
Add support to updatable virtual tables
2022-04-04 06:24:51 -07:00
Thom Chiovoloni
624c3a2d05
Small doc grammar fix
2022-04-04 00:20:33 -07:00
Thom Chiovoloni
46def6d67e
Improve the docs for opening the connection a bit
2022-04-03 22:08:50 -07:00
gwenn
af8cd1caec
Merge pull request #1152 from thomcc/expose-changes
...
Expose `sqlite3_changes` (or `sqlite3_changes64` if available)
2022-04-04 06:36:10 +02:00
Thom Chiovoloni
9699b4a210
Fix non-bundled tests against macOS system SQLite
2022-04-03 11:12:38 -07:00
Thom Chiovoloni
899784379b
Expose sqlite3_changes
(or sqlite3_changes64
if available)
2022-04-03 08:13:27 -07:00
Thom Chiovoloni
f8b9ad8907
Disable winsqlite3 on 32 bit targets
2022-04-03 08:08:45 -07:00
Thom Chiovoloni
3f6570f8bf
Prep libsqlite3-sys release 0.24.2
2022-03-29 22:44:47 -07:00
Thom Chiovoloni
202617f7af
Bump bundled sqlite to 3.38.2
2022-03-26 19:52:42 -07: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
2afbdeeb52
Merge pull request #1140 from gwenn/hashlink
...
Upgrade hashlink dependency
2022-03-16 18:27:49 +01:00
gwenn
9cc3793f10
Upgrade hashlink dependency
2022-03-16 18:24:27 +01:00
gwenn
69a40526d5
Introduce SqlInputError with offset
2022-03-13 17:31:07 +01:00
Thom Chiovoloni
c3b419b1e5
Bump bundled sqlite to 3.38.1
2022-03-12 11:08:35 -08:00
Thom Chiovoloni
8d0582a8af
Force use of buildtime_bindgen under winsqlite3 for now
2022-03-12 11:08:24 -08:00
Thom Chiovoloni
ea537ceea2
Add comment on rust-postgres
to README.md
2022-03-10 13:07:06 -08:00
Thom Chiovoloni
3b3382a5d3
Undo accidental reformat of README lists
2022-03-10 13:07:06 -08:00
Thom Chiovoloni
c9aa11301b
Reword bundled explanation in readme
2022-03-10 13:07:06 -08:00
Thom Chiovoloni
74e4fa008e
Make the example code in the crate docs be the same as the README
2022-03-10 13:07:06 -08:00
Thom Chiovoloni
5923d0c8bd
README: nudge people towards bundled, use tuple params, remove comment about rust-postgres
2022-03-10 13:07:06 -08:00
Thom Chiovoloni
2ec0b2e8fe
Implement Params
for tuples of ToSql up to size 16, and touch up docs
2022-03-10 13:07:06 -08:00
Thom Chiovoloni
8db9aff358
Prep libsqlite3-sys release 0.24.1
2022-03-05 09:03:28 -08:00
Thom Chiovoloni
db8f70f2b5
Update bundled SQLcipher to v4.5.1 (equivalent to SQLite 3.37.2)
2022-03-05 08:50:16 -08:00
gwenn
8141b5e085
Merge pull request #1129 from gwenn/0.27.0
...
Prepare release 0.27.0
2022-02-27 19:49:24 +01:00
gwenn
2dc92fb73c
Prepare release 0.27.0
2022-02-27 18:41:10 +01:00
gwenn
fac235974c
Merge pull request #1127 from gwenn/consts
...
Add constants introduced by SQLite 3.38.0
2022-02-26 10:31:14 +01:00
gwenn
65668a46e4
Add constants introduced by SQLite 3.38.0
...
SQLITE_STMTSTATUS_FILTER_MISS
SQLITE_STMTSTATUS_FILTER_HIT
SQLITE_INDEX_CONSTRAINT_LIMIT
SQLITE_INDEX_CONSTRAINT_OFFSET
2022-02-26 09:55:17 +01:00
gwenn
af152b410d
Merge pull request #1124 from gwenn/3.38.0
...
Upgrade SQLite bundled version to 3.38.0
2022-02-23 19:09:39 +01:00
gwenn
5648122b09
Upgrade SQLite bundled version to 3.38.0
2022-02-23 17:36:23 +00:00
polyrand
7132e4d7cc
Fix typo in libsqlite flags variable
2022-01-21 11:21:47 +01:00
gwenn
ddb7141c6d
Merge pull request #1113 from link2xt/SQLITE_DBCONFIG_RESET_DATABASE
...
Uncomment config::DbConfig::SQLITE_DBCONFIG_RESET_DATABASE
2022-01-18 19:57:54 +01:00
link2xt
81795e90b4
Uncomment config::DbConfig::SQLITE_DBCONFIG_RESET_DATABASE
2022-01-16 16:16:39 +00:00
gwenn
94437ed17f
Merge pull request #1112 from gwenn/script
...
Fix shell scripts
2022-01-16 09:16:56 +01:00
gwenn
db9dae27cf
Merge remote-tracking branch 'upstream/master' into script
2022-01-16 09:04:23 +01:00
gwenn
34b9519c3e
Merge pull request #1050 from gwenn/clippy_send
...
Fix clippy warning
2022-01-16 09:00:07 +01:00
gwenn
897ef9cf25
Fix shell scripts
...
Replace `$_` by `$0` because `$_` doesn't work when using `sh upgrade.sh`.
Replace `bash` by `sh` because we should not depend on bash.
And also remove unused `CUR_DIR` variable.
2022-01-15 10:35:30 +01:00
gwenn
6f8174b614
Merge pull request #1110 from gwenn/3.37.2
...
Upgrade SQLite bundled version to 3.37.2
2022-01-11 19:13:53 +01:00
gwenn
2536df39d2
Upgrade SQLite bundled version to 3.37.2
2022-01-11 18:02:02 +00:00
Pratik Chowdhury
6eb9d0f6aa
Remove winsqlite link to Microsoft article.
2022-01-10 09:11:21 -08:00