Commit 432a0587 authored by Sergey Petrunya's avatar Sergey Petrunya

- Fix valgrind failure introduced in previous push

parent daf4acc1
......@@ -830,7 +830,7 @@ void get_delayed_table_estimates(TABLE *table,
double read_time;
/* Calculate #rows and cost of join execution */
get_partial_join_cost(join, join->tables, &read_time, &rows);
get_partial_join_cost(join, join->tables - join->const_tables, &read_time, &rows);
*out_rows= (ha_rows)rows;
*startup_cost= read_time;
......
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