mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
restore ER_VIEW_CHECK_FAILED to be different from ER_CONSTRAINT_FAILED
collaterals: * use %`s, not '%s' * use correct SQLSTATE codes for these two errors
This commit is contained in:
parent
c87e002bbb
commit
99e48cb1d9
35 changed files with 860 additions and 875 deletions
|
|
@ -467,7 +467,7 @@ alter table t1 drop index c2, add index (c2(4),c3(7));
|
|||
alter table t1 add primary key (c1, c2), drop primary key;
|
||||
alter table t1 drop primary key;
|
||||
alter table t1 add primary key (c1, c2), drop primary key;
|
||||
ERROR 42000: Can't DROP 'PRIMARY'; check that constraint/column/key exists
|
||||
ERROR 42000: Can't DROP `PRIMARY`; check that it exists
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue