mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix compile on Windows: use rint() instead of round().
This commit is contained in:
parent
1dd5d31c73
commit
06a87d77e6
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue