mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
fix ALTER TABLE .. DROP CONSTRAINT IF NOT EXISTS
This commit is contained in:
parent
5c764a0eb8
commit
b258f91103
3 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue