mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix bug in GlobalCacheTracker::git_checkout_all
This fixes a bug in the `GlobalCacheTracker::git_checkout_all` function which was using the wrong SQL column name. This function belongs to the set of of functions only used for testing, and this particular function was not yet used.
This commit is contained in:
parent
762c7d8a00
commit
7e5ab66784
@ -499,7 +499,7 @@ impl GlobalCacheTracker {
|
||||
let mut stmt = self.conn.prepare_cached(
|
||||
"SELECT git_db.name, git_checkout.name, git_checkout.size, git_checkout.timestamp
|
||||
FROM git_db, git_checkout
|
||||
WHERE git_checkout.registry_id = git_db.id",
|
||||
WHERE git_checkout.git_id = git_db.id",
|
||||
)?;
|
||||
let rows = stmt
|
||||
.query_map([], |row| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user