Skip to content

Commit

Permalink
Check for aliases in a case-insensitive manner
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jan 24, 2025
1 parent ff719ef commit c54c9f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/lib/src/pantry_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub fn projects_for_symbol(
"
SELECT project FROM provides WHERE program = ?1
UNION
SELECT project FROM aliases WHERE alias = ?1;",
SELECT project FROM aliases WHERE LOWER(alias) = LOWER(?1);"
)?;
let mut rv = Vec::new();
let mut rows = stmt.query(params![symbol])?;
Expand Down

0 comments on commit c54c9f4

Please sign in to comment.