File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -113,13 +113,13 @@ min(a)
113
113
2
114
114
explain select max(200 - a) from t1;
115
115
id select_type table type possible_keys key key_len ref rows Extra
116
- 1 SIMPLE t1 index NULL a 5 NULL 100 Using index
116
+ 1 SIMPLE t1 index NULL a 5 NULL # Using index
117
117
select max(200 - a) from t1;
118
118
max(200 - a)
119
119
198
120
120
explain select min(200 - a) from t1;
121
121
id select_type table type possible_keys key key_len ref rows Extra
122
- 1 SIMPLE t1 index NULL a 5 NULL 100 Using index
122
+ 1 SIMPLE t1 index NULL a 5 NULL # Using index
123
123
select min(200 - a) from t1;
124
124
min(200 - a)
125
125
0
@@ -174,6 +174,4 @@ SELECT MAX(a) FROM t1 WHERE a <= 0.6789;
174
174
MAX(a)
175
175
0.6789
176
176
drop table t1;
177
- #
178
177
# end of test 11.4
179
- #
Original file line number Diff line number Diff line change @@ -102,13 +102,13 @@ eval $query;
102
102
# double reversion
103
103
let $query=
104
104
select max(200 - a) from t1;
105
- replace_result 101 100 ;
105
+ replace_column 9 # ;
106
106
eval explain $query;
107
107
eval $query;
108
108
109
109
let $query=
110
110
select min(200 - a) from t1;
111
- replace_result 101 100 ;
111
+ replace_column 9 # ;
112
112
eval explain $query;
113
113
eval $query;
114
114
@@ -162,6 +162,5 @@ eval $query;
162
162
163
163
# Cleanup
164
164
drop table t1;
165
- --echo #
165
+
166
166
--echo # end of test 11.4
167
- --echo #
You can’t perform that action at this time.
0 commit comments