diff options
author | Monty <monty@mariadb.org> | 2020-06-05 18:55:11 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-06-14 19:39:42 +0300 |
commit | dfb41fddf69ccbca89fd322901f2809bc3bcc0e9 (patch) | |
tree | 5b82e40e36fe4f250679aa87de41c2c2179c595c /mysql-test/main/create_drop_view.result | |
parent | 346d10a953790f41d9457e7d52fd7d5271e8f956 (diff) | |
download | mariadb-git-dfb41fddf69ccbca89fd322901f2809bc3bcc0e9.tar.gz |
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
Diffstat (limited to 'mysql-test/main/create_drop_view.result')
-rw-r--r-- | mysql-test/main/create_drop_view.result | 2 |
1 files changed, 1 insertions, 1 deletions
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: |