diff --git a/src/dsql/DdlNodes.h b/src/dsql/DdlNodes.h index 83823f1e99a..3c07b01ac2d 100644 --- a/src/dsql/DdlNodes.h +++ b/src/dsql/DdlNodes.h @@ -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: