mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
clarify ER_CANT_DROP_FIELD_OR_KEY
include the dropped object type
This commit is contained in:
@ -83,7 +83,7 @@ t2 CREATE TABLE `t2` (
|
||||
CONSTRAINT `CONSTRAINT_1` CHECK (a+b+c < 500)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
alter table t2 drop constraint c;
|
||||
ERROR 42000: Can't DROP `c`; check that it exists
|
||||
ERROR 42000: Can't DROP CONSTRAINT `c`; check that it exists
|
||||
alter table t2 drop constraint min;
|
||||
show create table t2;
|
||||
Table Create Table
|
||||
|
Reference in New Issue
Block a user