summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/r/innodb-index.result
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-07-02 14:52:20 +0200
committerSergei Golubchik <serg@mariadb.org>2016-07-02 14:52:20 +0200
commit5c764a0eb82c87ace0df9744922f27229a7e212a (patch)
tree9ecc138a8fc10c6e901099424c048dff92ba493f /mysql-test/suite/innodb/r/innodb-index.result
parent5e3a1ea1e417daf4ed9544221c10d1e605b9bb73 (diff)
downloadmariadb-git-5c764a0eb82c87ace0df9744922f27229a7e212a.tar.gz
clarify ER_CANT_DROP_FIELD_OR_KEY
include the dropped object type
Diffstat (limited to 'mysql-test/suite/innodb/r/innodb-index.result')
-rw-r--r--mysql-test/suite/innodb/r/innodb-index.result4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/innodb/r/innodb-index.result b/mysql-test/suite/innodb/r/innodb-index.result
index 5758a8ec6b5..e6ee836ae13 100644
--- a/mysql-test/suite/innodb/r/innodb-index.result
+++ b/mysql-test/suite/innodb/r/innodb-index.result
@@ -544,9 +544,9 @@ t2 CREATE TABLE `t2` (
delete from t1;
ERROR 23000: Cannot delete or update a parent row: a foreign key constraint fails (`test`.`t4`, CONSTRAINT `dc` FOREIGN KEY (`a`) REFERENCES `t1` (`a`))
drop index dc on t4;
-ERROR 42000: Can't DROP `dc`; check that it exists
+ERROR 42000: Can't DROP INDEX `dc`; check that it exists
alter table t3 drop foreign key dc;
-ERROR 42000: Can't DROP `dc`; check that it exists
+ERROR 42000: Can't DROP FOREIGN KEY `dc`; check that it exists
alter table t4 drop foreign key dc;
affected rows: 0
info: Records: 0 Duplicates: 0 Warnings: 0