mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
More code cleanups
Remove Histogram_*::is_available(), it is not applicable anymore. Fix compilation on Windows
This commit is contained in:
@@ -1271,7 +1271,7 @@ void Histogram_binary::init_for_collection(MEM_ROOT *mem_root,
|
||||
ulonglong size_arg)
|
||||
{
|
||||
type= htype_arg;
|
||||
values = (uchar*)alloc_root(mem_root, size_arg);
|
||||
values= (uchar*)alloc_root(mem_root, (size_t)size_arg);
|
||||
size= (uint8) size_arg;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user