Commit ace961a1 authored by Sergei Petrunia's avatar Sergei Petrunia

Fix compile error on windows

parent f4602720
......@@ -58,7 +58,7 @@ class Histogram_json_builder : public Histogram_builder
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;
......
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