fix ALTER TABLE .. DROP CONSTRAINT IF NOT EXISTS

This commit is contained in:
Sergei Golubchik 2016-07-02 12:22:58 +02:00
commit b258f91103
3 changed files with 5 additions and 1 deletions

View file

@ -48,6 +48,7 @@ create table t2 like t1;
show create table t2;
--error ER_CANT_DROP_FIELD_OR_KEY
alter table t2 drop constraint c;
alter table t2 drop constraint if exists c;
alter table t2 drop constraint min;
show create table t2;