mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix numerous warnings introduced in the last pushes on Windows
This commit is contained in:
@@ -3315,15 +3315,15 @@ public:
|
||||
bool get(TABLE *table);
|
||||
|
||||
/* Cost of searching for an element in the tree */
|
||||
inline static double get_search_cost(uint tree_elems, uint compare_factor)
|
||||
inline static double get_search_cost(ulonglong tree_elems, uint compare_factor)
|
||||
{
|
||||
return log((double) tree_elems) / (compare_factor * M_LN2);
|
||||
}
|
||||
|
||||
static double get_use_cost(uint *buffer, uint nkeys, uint key_size,
|
||||
static double get_use_cost(uint *buffer, size_t nkeys, uint key_size,
|
||||
ulonglong max_in_memory_size, uint compare_factor,
|
||||
bool intersect_fl, bool *in_memory);
|
||||
inline static int get_cost_calc_buff_size(ulong nkeys, uint key_size,
|
||||
inline static int get_cost_calc_buff_size(size_t nkeys, uint key_size,
|
||||
ulonglong max_in_memory_size)
|
||||
{
|
||||
register ulonglong max_elems_in_tree=
|
||||
|
||||
Reference in New Issue
Block a user