1
0
mirror of https://github.com/MariaDB/server.git synced 2025-04-28 06:45:23 +03:00

Fix compile error on windows

This commit is contained in:
Sergei Petrunia 2021-09-10 14:59:32 +03:00
parent f460272054
commit ace961a1e7

View File

@ -58,7 +58,7 @@ public:
ha_rows rows)
: Histogram_builder(col, col_len, rows), histogram(hist)
{
bucket_capacity= (double)records / histogram->get_width();
bucket_capacity= records / histogram->get_width();
hist_width= histogram->get_width();
n_buckets_collected= 0;
bucket.ndv= 0;