You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/r/innodb_explain_json_non_select_all.result
+32-32
Original file line number
Diff line number
Diff line change
@@ -2852,8 +2852,8 @@ EXPLAIN EXTENDED DELETE FROM t1 WHERE i > 10 AND i <= 18 ORDER BY i LIMIT 5;
2852
2852
id select_type table type possible_keys key key_len ref rows filtered Extra
2853
2853
1 SIMPLE t1 ALL i NULL NULL NULL 26 100.00 Using where; Using filesort
2854
2854
Warnings:
2855
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2856
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2855
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2856
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2857
2857
# Status of EXPLAIN EXTENDED query
2858
2858
Variable_name Value
2859
2859
EXPLAIN FORMAT=JSON DELETE FROM t1 WHERE i > 10 AND i <= 18 ORDER BY i LIMIT 5;;
@@ -2878,18 +2878,18 @@ EXPLAIN
2878
2878
} /* query_block */
2879
2879
}
2880
2880
Warnings:
2881
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2882
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2881
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2882
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2883
2883
FLUSH STATUS;
2884
2884
FLUSH TABLES;
2885
2885
EXPLAIN EXTENDED SELECT * FROM t1 WHERE i > 10 AND i <= 18 ORDER BY i LIMIT 5;
2886
2886
id select_type table type possible_keys key key_len ref rows filtered Extra
2887
2887
1 SIMPLE t1 ALL i NULL NULL NULL 26 100.00 Using where; Using filesort
2888
2888
Warnings:
2889
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2890
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2891
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2892
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2889
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2890
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2891
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2892
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2893
2893
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`i` AS `i` from `test`.`t1` where ((`test`.`t1`.`i` > 10) and (`test`.`t1`.`i` <= 18)) order by `test`.`t1`.`i` limit 5
2894
2894
# Status of EXPLAIN EXTENDED "equivalent" SELECT query execution
2895
2895
Variable_name Value
@@ -2914,10 +2914,10 @@ EXPLAIN
2914
2914
} /* query_block */
2915
2915
}
2916
2916
Warnings:
2917
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2918
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2919
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2920
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2917
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2918
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2919
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2920
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
2921
2921
Note 1003 /* select#1 */ select `test`.`t1`.`a` AS `a`,`test`.`t1`.`i` AS `i` from `test`.`t1` where ((`test`.`t1`.`i` > 10) and (`test`.`t1`.`i` <= 18)) order by `test`.`t1`.`i` limit 5
2922
2922
# Status of "equivalent" SELECT query execution:
2923
2923
Variable_name Value
@@ -3133,7 +3133,7 @@ EXPLAIN EXTENDED DELETE FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;
3133
3133
id select_type table type possible_keys key key_len ref rows filtered Extra
3134
3134
1 SIMPLE t2 ALL a NULL NULL NULL 26 100.00 Using where; Using filesort
3135
3135
Warnings:
3136
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3136
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3137
3137
# Status of EXPLAIN EXTENDED query
3138
3138
Variable_name Value
3139
3139
EXPLAIN FORMAT=JSON DELETE FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;;
@@ -3158,7 +3158,7 @@ EXPLAIN
3158
3158
} /* query_block */
3159
3159
}
3160
3160
Warnings:
3161
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3161
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3162
3162
FLUSH STATUS;
3163
3163
FLUSH TABLES;
3164
3164
EXPLAIN EXTENDED SELECT * FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;
@@ -3226,7 +3226,7 @@ EXPLAIN EXTENDED DELETE FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;
3226
3226
id select_type table type possible_keys key key_len ref rows filtered Extra
3227
3227
1 SIMPLE t2 ALL a NULL NULL NULL 26 100.00 Using where; Using filesort
3228
3228
Warnings:
3229
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3229
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3230
3230
# Status of EXPLAIN EXTENDED query
3231
3231
Variable_name Value
3232
3232
EXPLAIN FORMAT=JSON DELETE FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;;
@@ -3251,7 +3251,7 @@ EXPLAIN
3251
3251
} /* query_block */
3252
3252
}
3253
3253
Warnings:
3254
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3254
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
3255
3255
FLUSH STATUS;
3256
3256
FLUSH TABLES;
3257
3257
EXPLAIN EXTENDED SELECT * FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;
@@ -3758,8 +3758,8 @@ EXPLAIN EXTENDED UPDATE t2 SET a = 10 WHERE i > 10 AND i <= 18 ORDER BY i LIMIT
3758
3758
id select_type table type possible_keys key key_len ref rows filtered Extra
3759
3759
1 SIMPLE t2 ALL i NULL NULL NULL 26 100.00 Using where; Using filesort
3760
3760
Warnings:
3761
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3762
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3761
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3762
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3763
3763
# Status of EXPLAIN EXTENDED query
3764
3764
Variable_name Value
3765
3765
EXPLAIN FORMAT=JSON UPDATE t2 SET a = 10 WHERE i > 10 AND i <= 18 ORDER BY i LIMIT 5;;
@@ -3784,18 +3784,18 @@ EXPLAIN
3784
3784
} /* query_block */
3785
3785
}
3786
3786
Warnings:
3787
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3788
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3787
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3788
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3789
3789
FLUSH STATUS;
3790
3790
FLUSH TABLES;
3791
3791
EXPLAIN EXTENDED SELECT * FROM t2 WHERE i > 10 AND i <= 18 ORDER BY i LIMIT 5;
3792
3792
id select_type table type possible_keys key key_len ref rows filtered Extra
3793
3793
1 SIMPLE t2 ALL i NULL NULL NULL 26 100.00 Using where; Using filesort
3794
3794
Warnings:
3795
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3796
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3797
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3798
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3795
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3796
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3797
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3798
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3799
3799
Note 1003 /* select#1 */ select `test`.`t2`.`a` AS `a`,`test`.`t2`.`i` AS `i` from `test`.`t2` where ((`test`.`t2`.`i` > 10) and (`test`.`t2`.`i` <= 18)) order by `test`.`t2`.`i` limit 5
3800
3800
# Status of EXPLAIN EXTENDED "equivalent" SELECT query execution
3801
3801
Variable_name Value
@@ -3820,10 +3820,10 @@ EXPLAIN
3820
3820
} /* query_block */
3821
3821
}
3822
3822
Warnings:
3823
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3824
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3825
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3826
-
Warning 1738 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3823
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3824
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3825
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3826
+
Warning 1739 Cannot use range access on index 'i' due to type or collation conversion on field 'i'
3827
3827
Note 1003 /* select#1 */ select `test`.`t2`.`a` AS `a`,`test`.`t2`.`i` AS `i` from `test`.`t2` where ((`test`.`t2`.`i` > 10) and (`test`.`t2`.`i` <= 18)) order by `test`.`t2`.`i` limit 5
3828
3828
# Status of "equivalent" SELECT query execution:
3829
3829
Variable_name Value
@@ -4041,7 +4041,7 @@ EXPLAIN EXTENDED UPDATE t2 SET d = 10 WHERE b = 10 ORDER BY a, c LIMIT 5;
4041
4041
id select_type table type possible_keys key key_len ref rows filtered Extra
4042
4042
1 SIMPLE t2 ALL a NULL NULL NULL 26 100.00 Using where; Using filesort
4043
4043
Warnings:
4044
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4044
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4045
4045
# Status of EXPLAIN EXTENDED query
4046
4046
Variable_name Value
4047
4047
EXPLAIN FORMAT=JSON UPDATE t2 SET d = 10 WHERE b = 10 ORDER BY a, c LIMIT 5;;
@@ -4066,7 +4066,7 @@ EXPLAIN
4066
4066
} /* query_block */
4067
4067
}
4068
4068
Warnings:
4069
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4069
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4070
4070
FLUSH STATUS;
4071
4071
FLUSH TABLES;
4072
4072
EXPLAIN EXTENDED SELECT * FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;
@@ -4134,7 +4134,7 @@ EXPLAIN EXTENDED UPDATE t2 SET d = 10 WHERE b = 10 ORDER BY a, c LIMIT 5;
4134
4134
id select_type table type possible_keys key key_len ref rows filtered Extra
4135
4135
1 SIMPLE t2 ALL a NULL NULL NULL 26 100.00 Using where; Using filesort
4136
4136
Warnings:
4137
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4137
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4138
4138
# Status of EXPLAIN EXTENDED query
4139
4139
Variable_name Value
4140
4140
EXPLAIN FORMAT=JSON UPDATE t2 SET d = 10 WHERE b = 10 ORDER BY a, c LIMIT 5;;
@@ -4159,7 +4159,7 @@ EXPLAIN
4159
4159
} /* query_block */
4160
4160
}
4161
4161
Warnings:
4162
-
Warning 1738 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4162
+
Warning 1739 Cannot use range access on index 'a' due to type or collation conversion on field 'b'
4163
4163
FLUSH STATUS;
4164
4164
FLUSH TABLES;
4165
4165
EXPLAIN EXTENDED SELECT * FROM t2 WHERE b = 10 ORDER BY a, c LIMIT 5;
0 commit comments