From 3d19f2c9624f6c48db1bb1bf0a329c02cae0a4c6 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 11 Dec 2021 12:09:12 +0100 Subject: [PATCH 1/2] Fix SQLite version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98dc1ee..ecd1076 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ You can adjust this behavior in a number of ways: * If you use the `bundled`, `bundled-sqlcipher`, or `bundled-sqlcipher-vendored-openssl` features, `libsqlite3-sys` will use the [cc](https://crates.io/crates/cc) crate to compile SQLite or SQLCipher from source and link against that. This source is embedded in the `libsqlite3-sys` crate and - is currently SQLite 3.36.0 (as of `rusqlite` 0.26.0 / `libsqlite3-sys` + is currently SQLite 3.37.0 (as of `rusqlite` 0.26.0 / `libsqlite3-sys` 0.23.0). This is probably the simplest solution to any build problems. You can enable this by adding the following in your `Cargo.toml` file: ```toml [dependencies.rusqlite] From 4ceb290235cfd811f34d9ba24b21736e024762e1 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 11 Dec 2021 12:10:01 +0100 Subject: [PATCH 2/2] Fix rollback_hook doc --- src/hooks.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hooks.rs b/src/hooks.rs index 9684008..c15bdfc 100644 --- a/src/hooks.rs +++ b/src/hooks.rs @@ -354,8 +354,6 @@ impl Connection { /// Register a callback function to be invoked whenever /// a transaction is committed. - /// - /// The callback returns `true` to rollback. #[inline] pub fn rollback_hook(&self, hook: Option) where