Commit 9a3f3a12 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

incorrect bugfix removed. EQ+BETWEEN still cannot be optimized :(

parent 94cb1daa
...@@ -1267,7 +1267,7 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds, ...@@ -1267,7 +1267,7 @@ make_join_statistics(JOIN *join,TABLE_LIST *tables,COND *conds,
select->quick=0; select->quick=0;
if (records != HA_POS_ERROR) if (records != HA_POS_ERROR)
{ {
s->records=s->found_records=records; s->found_records=records;
s->read_time= (ha_rows) (s->quick ? s->quick->read_time : 0.0); s->read_time= (ha_rows) (s->quick ? s->quick->read_time : 0.0);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment