Skip to content

Commit

Permalink
Merge pull request #6833 from red-soft-ru/4_0_drop_view_err_msg
Browse files Browse the repository at this point in the history
Correct error message for DROP VIEW
  • Loading branch information
dyemanov authored May 31, 2021
2 parents c9dac47 + 03543d5 commit 3236127
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 3236127

Please # to comment.