summaryrefslogtreecommitdiff
path: root/mysql-test/main/alter_table.result
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2020-06-05 18:55:11 +0300
committerMonty <monty@mariadb.org>2020-06-14 19:39:42 +0300
commitdfb41fddf69ccbca89fd322901f2809bc3bcc0e9 (patch)
tree5b82e40e36fe4f250679aa87de41c2c2179c595c /mysql-test/main/alter_table.result
parent346d10a953790f41d9457e7d52fd7d5271e8f956 (diff)
downloadmariadb-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/alter_table.result')
-rw-r--r--mysql-test/main/alter_table.result3
1 files changed, 1 insertions, 2 deletions
diff --git a/mysql-test/main/alter_table.result b/mysql-test/main/alter_table.result
index 6572e5c9238..3a2f72b0988 100644
--- a/mysql-test/main/alter_table.result
+++ b/mysql-test/main/alter_table.result
@@ -272,8 +272,7 @@ ERROR 42000: Incorrect table name ''
drop table t1;
drop table if exists t1, t2;
Warnings:
-Note 1051 Unknown table 'test.t1'
-Note 1051 Unknown table 'test.t2'
+Note 1051 Unknown table 'test.t1,test.t2'
create table t1 ( a varchar(10) not null primary key ) engine=myisam;
create table t2 ( a varchar(10) not null primary key ) engine=merge union=(t1);
flush tables;