Skip to content

Commit

Permalink
Update diesel/src/query_source/joins.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Ten0 <[email protected]>
  • Loading branch information
weiznich and Ten0 authored Aug 25, 2022
1 parent d5fc92b commit 7829e0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions diesel/src/query_source/joins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -479,6 +479,7 @@ mod private {
// The default select clause for joins is always valid assuming that
// the default select clause of all involved query sources is
// valid too. We can skip the recursive check here.
// This is the main optimization.
impl<QS, T> SelectableExpression<QS> for SkipSelectableExpressionWrapper<T> where
Self: AppearsOnTable<QS>
{
Expand Down

0 comments on commit 7829e0d

Please sign in to comment.