Skip to content

Commit

Permalink
Fix compile error on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrunia committed Jan 19, 2022
1 parent f460272 commit ace961a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/opt_histogram_json.cc
Expand Up @@ -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;
Expand Down

0 comments on commit ace961a

Please sign in to comment.