Skip to content

Commit 626ba74

Browse files
committed
chore(binder): fix code
1 parent 0ed0ae4 commit 626ba74

File tree

1 file changed

+1
-1
lines changed
  • src/query/sql/src/planner/binder/ddl

1 file changed

+1
-1
lines changed

src/query/sql/src/planner/binder/ddl/table.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ impl Binder {
416416
}
417417

418418
async fn as_query_plan(&mut self, query: &Query) -> Result<Plan> {
419-
let stmt = Statement::Query(Box::new(*query.clone()));
419+
let stmt = Statement::Query(Box::new(query.clone()));
420420
let mut bind_context = BindContext::new();
421421
self.bind_statement(&mut bind_context, &stmt).await
422422
}

0 commit comments

Comments
 (0)