From e82b7177bbfd4e2b71ab57040b7a790f23f26357 Mon Sep 17 00:00:00 2001 From: cycraig Date: Mon, 19 Sep 2022 23:04:54 +0200 Subject: [PATCH] Fix sqlite compilation (#2098) --- Cargo.toml | 2 +- sqlx-core/src/sqlite/connection/explain.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5b55757f1d..ebe489cecd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -148,7 +148,7 @@ rand_xoshiro = "0.6.0" hex = "0.4.3" tempdir = "0.3.7" # Needed to test SQLCipher -libsqlite3-sys = { version = "0.24", features = ["bundled-sqlcipher"] } +libsqlite3-sys = { version = "0.25", features = ["bundled-sqlcipher"] } # # Any diff --git a/sqlx-core/src/sqlite/connection/explain.rs b/sqlx-core/src/sqlite/connection/explain.rs index 7d54bfddfc..6741905c9c 100644 --- a/sqlx-core/src/sqlite/connection/explain.rs +++ b/sqlx-core/src/sqlite/connection/explain.rs @@ -360,8 +360,8 @@ impl BranchStateHash { let mut cur = vec![]; for (k, v) in &st.p { match v { - CursorDataType::Normal(hm) => { - for (i, col) in hm { + CursorDataType::Normal { cols, .. } => { + for (i, col) in cols { cur.push((*k, *i, Some(col.clone()))); } }