Skip to content

Commit

Permalink
Correct error message for DROP VIEW
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya071294 committed May 31, 2021
1 parent c9dac47 commit 03543d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dsql/DdlNodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,8 @@ class DropRelationNode : public DdlNode
protected:
virtual void putErrorPrefix(Firebird::Arg::StatusVector& statusVector)
{
statusVector << Firebird::Arg::Gds(isc_dsql_drop_table_failed) << name;
statusVector << Firebird::Arg::Gds(view ? isc_dsql_drop_view_failed :
isc_dsql_drop_table_failed) << name;
}

public:
Expand Down

0 comments on commit 03543d5

Please # to comment.