Merge pull request #1047 from gwenn/upgrade

Upgrade checks
This commit is contained in:
gwenn 2021-11-28 18:56:56 +01:00 committed by GitHub
commit 75e17a634c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
libsqlite3-sys/Upgrade.md Normal file
View File

@ -0,0 +1,18 @@
# Checks
* new [error code(s)](https://sqlite.org/rescode.html)
=> Update [libsqlite3-sys/src/error.rs](https://github.com/rusqlite/rusqlite/blob/006c8b77e7d235a3072237f006ebabd66b937911/libsqlite3-sys/src/error.rs#L127)
And [code_to_str](https://github.com/rusqlite/rusqlite/blob/006c8b77e7d235a3072237f006ebabd66b937911/libsqlite3-sys/src/error.rs#L195)
* new [SQLITE_OPEN_*](https://www.sqlite.org/c3ref/c_open_autoproxy.html)
=> Update [struct OpenFlags](https://github.com/rusqlite/rusqlite/blob/19d08871799500d64336f413dc329cc964149f10/src/lib.rs#L999)
* new [SQLITE_LIMIT_*](https://sqlite.org/c3ref/c_limit_attached.html)
=> Update [enum Limit](https://github.com/rusqlite/rusqlite/blob/66ace52c4a24a811b405ffd9e9010163352a6186/libsqlite3-sys/src/lib.rs#L27)
* new [SQLITE_DBCONFIG_*](https://sqlite.org/c3ref/c_dbconfig_defensive.html)
=> Update [enum DbConfig](https://github.com/rusqlite/rusqlite/blob/7056e656ac92330a3d78f5ac456dea1e56f6bfee/src/config.rs#L15)
* new [Authorizer Action Codes](https://sqlite.org/c3ref/c_alter_table.html)
=> Update [enum AuthAction](https://github.com/rusqlite/rusqlite/blob/2ddbebad9763ab8054e55ef509672b7537ba7cf5/src/hooks.rs#L63)
* new [SQLITE_STMTSTATUS_*](https://www.sqlite.org/c3ref/c_stmtstatus_counter.html)
=> Update [enum StatementStatus](https://github.com/rusqlite/rusqlite/blob/ce90b519bb9946bf1cbab77479bb92d0fbc467c0/src/statement.rs#L937)
* new [SQLITE_INDEX_CONSTRAINT_*](https://sqlite.org/c3ref/c_index_constraint_eq.html)
=> Update [enum IndexConstraintOp](https://github.com/rusqlite/rusqlite/blob/5d42ba7c29a35dbb8eeb047e84ae0739cb152754/src/vtab/mod.rs#L267)
* new [function flag(s)](https://sqlite.org/c3ref/c_deterministic.html)
=> Update [struct FunctionFlags](https://github.com/rusqlite/rusqlite/blob/0312937d6a75b45d7e603fa8c6b083bc7774270b/src/functions.rs#L317)