Skip to content

Commit

Permalink
drop_if_exists commit4
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangziheng01233 committed Jul 11, 2023
1 parent a2e77c3 commit b227d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hybridse/src/planv2/ast_node_converter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2019,7 +2019,7 @@ base::Status ConvertDropStatement(const zetasql::ASTDropStatement* root, node::N
root->name()->ToIdentifierPathString())
*output =
dynamic_cast<node::CmdNode*>(node_manager->MakeCmdNode(node::CmdType::kCmdDropDatabase, names[0]));
(*output)->SetIfNotExists(root->is_if_exists());
(*output)->SetIfExists(root->is_if_exists());
return base::Status::OK();
}
case zetasql::SchemaObjectKind::kIndex: {
Expand Down

0 comments on commit b227d71

Please sign in to comment.