mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Bug#29125 Windows Server X64: so many compiler warnings
- Remove bothersome warning messages. This change focuses on the warnings that are covered by the ignore file: support-files/compiler_warnings.supp. - Strings are guaranteed to be max uint in length
This commit is contained in:
@ -636,12 +636,12 @@ static bool matching_cond(bool max_fl, TABLE_REF *ref, KEY *keyinfo,
|
||||
key_part_map org_key_part_used= *key_part_used;
|
||||
if (eq_type || between || max_fl == less_fl)
|
||||
{
|
||||
uint length= (key_ptr-ref->key_buff)+part->store_length;
|
||||
size_t length= (key_ptr-ref->key_buff)+part->store_length;
|
||||
if (ref->key_length < length)
|
||||
/* Ultimately ref->key_length will contain the length of the search key */
|
||||
ref->key_length= length;
|
||||
ref->key_length= (uint) length;
|
||||
if (!*prefix_len && part+1 == field_part)
|
||||
*prefix_len= length;
|
||||
*prefix_len= (uint) length;
|
||||
if (is_field_part && eq_type)
|
||||
*prefix_len= ref->key_length;
|
||||
|
||||
|
Reference in New Issue
Block a user