mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
MDEV-27062: Make histogram_type=JSON_HB the new default
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
We may end up producing a histogram with fewer buckets than intended, but
|
||||
this is considered tolerable.
|
||||
*/
|
||||
bucket_capacity= round(rows2double(records) / histogram->get_width() + 0.5);
|
||||
bucket_capacity= (longlong)round(rows2double(records) / histogram->get_width() + 0.5);
|
||||
if (bucket_capacity == 0)
|
||||
bucket_capacity= 1;
|
||||
hist_width= histogram->get_width();
|
||||
|
Reference in New Issue
Block a user