Skip to content

Commit

Permalink
Fix sqlite compilation (#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
cycraig authored Sep 19, 2022
1 parent 1379eb6 commit e82b717
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions sqlx-core/src/sqlite/connection/explain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())));
}
}
Expand Down

0 comments on commit e82b717

Please sign in to comment.