8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

Correct error message for DROP VIEW

This commit is contained in:
Ilya Eremin 2021-05-24 15:16:06 +03:00
parent a5d5d48d81
commit f8263fdaf0

View File

@ -1529,7 +1529,8 @@ public:
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: