Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JaySon-Huang committed Nov 18, 2024
1 parent 693f5a7 commit c534b0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dbms/src/Interpreters/InterpreterCreateQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ std::unique_ptr<DDLGuard> tryGetDDLGuard(
"Table " + database_name + "." + table_name + " already exists.",
ErrorCodes::TABLE_ALREADY_EXISTS);
}
return guard;
}
catch (Exception & e)
{
Expand Down
2 changes: 1 addition & 1 deletion dbms/src/Interpreters/InterpreterCreateQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ using StoragePtr = std::shared_ptr<IStorage>;
class InterpreterCreateQuery : public IInterpreter
{
public:
InterpreterCreateQuery(const ASTPtr & query_ptr_, Context & context_, std::string_view log_suffix_="");
InterpreterCreateQuery(const ASTPtr & query_ptr_, Context & context_, std::string_view log_suffix_ = "");

BlockIO execute() override;

Expand Down

0 comments on commit c534b0a

Please sign in to comment.