1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Dependency of tests from ulong size removed.

This commit is contained in:
unknown
2012-04-19 17:00:13 +03:00
parent d16ea779f8
commit 4cae07968c
146 changed files with 95 additions and 4912 deletions

View File

@ -1348,9 +1348,10 @@ ulong Query_cache::resize(ulong query_cache_size_arg)
ulong Query_cache::set_min_res_unit(ulong size)
{
DBUG_ASSERT(size % 8 == 0);
if (size < min_allocation_unit)
size= min_allocation_unit;
return (min_result_data_size= ALIGN_SIZE(size));
size= ALIGN_SIZE(min_allocation_unit);
return (min_result_data_size= size);
}