Minor: remove unecessary clone() in planner#4249
Conversation
|
Failing due to #4252 |
f11c2c9 to
02e87e0
Compare
| SQLExpr::Nested(e) => self.sql_expr_to_logical_expr(*e, schema, ctes), | ||
|
|
||
| SQLExpr::Exists { subquery, negated } => self.parse_exists_subquery(&subquery, negated, schema, ctes), | ||
| SQLExpr::Exists { subquery, negated } => self.parse_exists_subquery(*subquery, negated, schema, ctes), |
There was a problem hiding this comment.
it already has an owned copy -- there is no reason to pass in a reference to just clone it again
|
Benchmark runs are scheduled for baseline = e18f7ba and contender = 6f62870. 6f62870 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Which issue does this PR close?
N/A
Rationale for this change
I noticed this while working on #4226
What changes are included in this PR?
remove some unecessary clone()
Are these changes tested?
yes by existing tests
Are there any user-facing changes?
no