Skip to content

Commit

Permalink
remove bad code
Browse files Browse the repository at this point in the history
  • Loading branch information
JackTan25 committed Dec 19, 2023
1 parent f2cfe7d commit 997e64b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ impl Interpreter for SetOptionsInterpreter {
let table = self.plan.table.as_str();
let tbl = catalog
.get_table(self.ctx.get_tenant().as_str(), database, table)
.await
.ok();
.await?;

let table = if let Some(table) = &tbl {
// check mutability
Expand Down

0 comments on commit 997e64b

Please sign in to comment.