Skip to content

Commit

Permalink
Work around rust-lang/rust#51348 ICE
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Jun 27, 2018
1 parent 47189dd commit 6abe455
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/controller/sql/passes/implied_tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,10 @@ fn rewrite_selection(
| &mut Sum(ref mut fe, _)
| &mut Min(ref mut fe)
| &mut Max(ref mut fe)
| &mut GroupConcat(ref mut fe, _) if fe.table.is_none() =>
{
fe.table = find_table(fe, tables_in_query);
| &mut GroupConcat(ref mut fe, _) => {
if fe.table.is_none() {
fe.table = find_table(fe, tables_in_query);
}
}
_ => {}
}
Expand Down

0 comments on commit 6abe455

Please sign in to comment.