mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fixed a typo bug in JOIN_CACHE::shrink_join_buffer_in_ratio.
This commit is contained in:
@@ -874,7 +874,7 @@ bool JOIN_CACHE::shrink_join_buffer_in_ratio(ulonglong n, ulonglong d)
|
|||||||
if (n < d)
|
if (n < d)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
next_buff_size= (ulonglong) ((double) buff_size / n * d);
|
next_buff_size= (ulonglong) ((double) buff_size / n * d);
|
||||||
set_if_smaller(next_buff_size, min_buff_size);
|
set_if_bigger(next_buff_size, min_buff_size);
|
||||||
buff_size= next_buff_size;
|
buff_size= next_buff_size;
|
||||||
return realloc_buffer();
|
return realloc_buffer();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user