1
0
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:
Sergei Petrunia
2021-09-04 17:24:47 +03:00
parent 1d98168547
commit 9271bd17f7
4 changed files with 11 additions and 26 deletions

View File

@@ -126,7 +126,7 @@ void Histogram_json_hb::init_for_collection(MEM_ROOT *mem_root,
ulonglong size_arg)
{
DBUG_ASSERT(htype_arg == JSON_HB);
size= (uint8) size_arg;
size= (size_t)size_arg;
}