Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zorancv committed Jun 13, 2024
1 parent 1ac358a commit 0512a0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions store/postgres/src/relational/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ impl Expr {
}
}

/// Here we check if all the columns expressions of the two indexes are "kind of same".
/// We ignore the operator class of the expression by checking if the string of the
/// original expression is a prexif of the string of the current one.
fn is_same_kind_columns(current: &Vec<Expr>, orig: &Vec<Expr>) -> bool {
if orig.len() != current.len() {
return false;
Expand Down

0 comments on commit 0512a0f

Please sign in to comment.