1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

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.
This commit is contained in:
igor@rurik.mysql.com
2006-05-27 23:57:33 -07:00
parent 6d285f8a29
commit 377b3e0306
33 changed files with 86 additions and 59 deletions

View File

@@ -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;