summaryrefslogtreecommitdiff
path: root/mysql-test/t/explain.test
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2006-05-27 23:57:33 -0700
committerigor@rurik.mysql.com <>2006-05-27 23:57:33 -0700
commit377b3e0306b0b5ba8769ad23689f1aa6d92a0fdc (patch)
treeb79720aa64490cd88ed6b40aa30a5fd6ca4d822f /mysql-test/t/explain.test
parent6d285f8a29fd6e495fd16153780297717931344f (diff)
downloadmariadb-git-377b3e0306b0b5ba8769ad23689f1aa6d92a0fdc.tar.gz
Fixed bug #17873: confusing error message when IGNORE/USE/FORCE INDEX
refers to a column name. Added a new error message ER_INDEX_DOES_NOT_EXIST.
Diffstat (limited to 'mysql-test/t/explain.test')
-rw-r--r--mysql-test/t/explain.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/t/explain.test b/mysql-test/t/explain.test
index 2a3a23c5f96..8e64255f239 100644
--- a/mysql-test/t/explain.test
+++ b/mysql-test/t/explain.test
@@ -15,9 +15,9 @@ explain select * from t1 ignore key (str) where str="foo";
explain select * from t1 use key (str,str) where str="foo";
#The following should give errors
---error 1072
+--error 1303
explain select * from t1 use key (str,str,foo) where str="foo";
---error 1072
+--error 1303
explain select * from t1 ignore key (str,str,foo) where str="foo";
drop table t1;