Commit f3ce9eda authored by Sergei Petrunia's avatar Sergei Petrunia

Fix compilation on Windows

parent c3a1cd35
...@@ -27071,7 +27071,8 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table, ...@@ -27071,7 +27071,8 @@ test_if_cheaper_ordering(const JOIN_TAB *tab, ORDER *order, TABLE *table,
// cond_selectivity=1 while refkey_rows_estimate has a better // cond_selectivity=1 while refkey_rows_estimate has a better
// estimate. // estimate.
refkey_rows_estimate= MY_MIN(refkey_rows_estimate, refkey_rows_estimate= MY_MIN(refkey_rows_estimate,
table_records * table->cond_selectivity); ha_rows(table_records *
table->cond_selectivity));
} }
/* /*
......
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