From dfb41fddf69ccbca89fd322901f2809bc3bcc0e9 Mon Sep 17 00:00:00 2001 From: Monty Date: Fri, 5 Jun 2020 18:55:11 +0300 Subject: Make error messages from DROP TABLE and DROP TABLE IF EXISTS consistent - IF EXISTS ends with a list of all not existing object, instead of a separate note for every not existing object - Produce a "Note" for all wrongly dropped objects (like trying to do DROP SEQUENCE for a normal table) - Do not write existing tables that could not be dropped to binlog Other things: MDEV-22820 Bogus "Unknown table" warnings produced upon attempt to drop parent table referenced by FK This was caused by an older version of this commit patch and later fixed --- mysql-test/main/create_drop_view.result | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysql-test/main/create_drop_view.result') diff --git a/mysql-test/main/create_drop_view.result b/mysql-test/main/create_drop_view.result index 7cfa818ccbf..a62639545e1 100644 --- a/mysql-test/main/create_drop_view.result +++ b/mysql-test/main/create_drop_view.result @@ -54,7 +54,7 @@ id 40 DROP TABLE IF EXISTS v1; Warnings: -Note 1051 Unknown table 'test.v1' +Note 1965 'test.v1' is a view DROP VIEW IF EXISTS v1; DROP VIEW IF EXISTS v1; Warnings: -- cgit v1.2.1