From f8263fdaf0fdadaab13da076c526f65ddc94f110 Mon Sep 17 00:00:00 2001 From: Ilya Eremin Date: Mon, 24 May 2021 15:16:06 +0300 Subject: [PATCH] Correct error message for DROP VIEW --- src/dsql/DdlNodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dsql/DdlNodes.h b/src/dsql/DdlNodes.h index 4d6a087c42..ba7b728922 100644 --- a/src/dsql/DdlNodes.h +++ b/src/dsql/DdlNodes.h @@ -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: