Commit 06a87d77 authored by Sergei Petrunia's avatar Sergei Petrunia

Fix compile on Windows: use rint() instead of round().

parent 1dd5d31c
......@@ -30,7 +30,7 @@ class Table_access_tracker
ha_rows get_avg_rows()
{
return r_scans ? round((double) r_rows / r_scans): 0;
return r_scans ? (ha_rows)rint((double) r_rows / r_scans): 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