Commit a3b1e0c1 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fixed DBUG_PRINT formatting (compile error on Linux with -Werror)

parent 91a528ac
......@@ -312,9 +312,10 @@ double Unique::get_use_cost(uint *buffer, size_t nkeys, uint key_size,
result+= n_full_trees * log2_n_fact(max_elements_in_tree + 1.0);
result /= compare_factor;
DBUG_PRINT("info",("unique trees sizes: %u=%u*%lu + %lu", nkeys,
n_full_trees, n_full_trees?max_elements_in_tree:0,
last_tree_elems));
DBUG_PRINT("info",("unique trees sizes: %u=%u*%u + %u", (uint)nkeys,
(uint)n_full_trees,
(uint)(n_full_trees?max_elements_in_tree:0),
(uint)last_tree_elems));
if (in_memory)
*in_memory= !n_full_trees;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment