revision-id: 03c1b08f0f96f55cc4ff06f7eb237d172875e063 (mariadb-10.5.0-427-g03c1b08f0f9) parent(s): 0da66e563076e9675a545757b76215c43258ad99 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2020-03-22 17:59:53 +0300 message: Fix compile error on Windows --- sql/sql_select.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 0a2af55326a..5eabdc74f45 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -7196,7 +7196,7 @@ double matching_candidates_in_table(JOIN_TAB *s, bool with_found_constraint, { TABLE *table= s->table; double sel= table->cond_selectivity; - double table_records= s->records; + double table_records= rows2double(s->records); dbl_records= table_records * sel; return dbl_records; }