diff options
author | igor@rurik.mysql.com <> | 2006-05-27 23:57:33 -0700 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2006-05-27 23:57:33 -0700 |
commit | 377b3e0306b0b5ba8769ad23689f1aa6d92a0fdc (patch) | |
tree | b79720aa64490cd88ed6b40aa30a5fd6ca4d822f /mysql-test/r/explain.result | |
parent | 6d285f8a29fd6e495fd16153780297717931344f (diff) | |
download | mariadb-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/r/explain.result')
-rw-r--r-- | mysql-test/r/explain.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/explain.result b/mysql-test/r/explain.result index d66dec741bd..f77ddce118e 100644 --- a/mysql-test/r/explain.result +++ b/mysql-test/r/explain.result @@ -24,9 +24,9 @@ explain select * from t1 use key (str,str) where str="foo"; id select_type table type possible_keys key key_len ref rows Extra 1 SIMPLE t1 const str str 11 const 1 explain select * from t1 use key (str,str,foo) where str="foo"; -ERROR 42000: Key column 'foo' doesn't exist in table +ERROR 42000: Index 'foo' is not defined for table 't1' explain select * from t1 ignore key (str,str,foo) where str="foo"; -ERROR 42000: Key column 'foo' doesn't exist in table +ERROR 42000: Index 'foo' is not defined for table 't1' drop table t1; explain select 1; id select_type table type possible_keys key key_len ref rows Extra |