Loading mysql-test/r/explain.result +2 −2 Original line number Diff line number Diff line Loading @@ -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 HY000: Key 'foo' doesn't exist in 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 HY000: Key 'foo' doesn't exist in table 't1' drop table t1; explain select 1; id select_type table type possible_keys key key_len ref rows Extra Loading mysql-test/r/key_cache.result +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ cache index t1 in unknown_key_cache; ERROR HY000: Unknown key cache 'unknown_key_cache' cache index t1 key (unknown_key) in keycache1; Table Op Msg_type Msg_text test.t1 assign_to_keycache error Key column 'unknown_key' doesn't exist in table test.t1 assign_to_keycache error Key 'unknown_key' doesn't exist in table 't1' test.t1 assign_to_keycache status Operation failed Warnings: Error 1072 Key column 'unknown_key' doesn't exist in table Loading mysql-test/r/preload.result +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ Key_reads 0 load index into cache t3 key (b), t2 key (c) ; Table Op Msg_type Msg_text test.t3 preload_keys error Table 'test.t3' doesn't exist test.t2 preload_keys error Key column 'c' doesn't exist in table test.t2 preload_keys error Key 'c' doesn't exist in table 't2' test.t2 preload_keys status Operation failed Warnings: Error 1146 Table 'test.t3' doesn't exist Loading mysql-test/r/select.result +209 −931 File changed.Preview size limit exceeded, changes collapsed. Show changes mysql-test/t/explain.test +2 −2 Original line number Diff line number Diff line Loading @@ -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 1176 explain select * from t1 use key (str,str,foo) where str="foo"; --error 1072 --error 1176 explain select * from t1 ignore key (str,str,foo) where str="foo"; drop table t1; Loading Loading
mysql-test/r/explain.result +2 −2 Original line number Diff line number Diff line Loading @@ -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 HY000: Key 'foo' doesn't exist in 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 HY000: Key 'foo' doesn't exist in table 't1' drop table t1; explain select 1; id select_type table type possible_keys key key_len ref rows Extra Loading
mysql-test/r/key_cache.result +1 −1 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ cache index t1 in unknown_key_cache; ERROR HY000: Unknown key cache 'unknown_key_cache' cache index t1 key (unknown_key) in keycache1; Table Op Msg_type Msg_text test.t1 assign_to_keycache error Key column 'unknown_key' doesn't exist in table test.t1 assign_to_keycache error Key 'unknown_key' doesn't exist in table 't1' test.t1 assign_to_keycache status Operation failed Warnings: Error 1072 Key column 'unknown_key' doesn't exist in table Loading
mysql-test/r/preload.result +1 −1 Original line number Diff line number Diff line Loading @@ -160,7 +160,7 @@ Key_reads 0 load index into cache t3 key (b), t2 key (c) ; Table Op Msg_type Msg_text test.t3 preload_keys error Table 'test.t3' doesn't exist test.t2 preload_keys error Key column 'c' doesn't exist in table test.t2 preload_keys error Key 'c' doesn't exist in table 't2' test.t2 preload_keys status Operation failed Warnings: Error 1146 Table 'test.t3' doesn't exist Loading
mysql-test/r/select.result +209 −931 File changed.Preview size limit exceeded, changes collapsed. Show changes
mysql-test/t/explain.test +2 −2 Original line number Diff line number Diff line Loading @@ -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 1176 explain select * from t1 use key (str,str,foo) where str="foo"; --error 1072 --error 1176 explain select * from t1 ignore key (str,str,foo) where str="foo"; drop table t1; Loading