mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 00:35:32 +02: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()
|
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…
Add table
Add a link
Reference in a new issue