1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixes for gcc 4.4.1 warnings

This commit is contained in:
Guilhem Bichot
2010-01-25 23:19:34 +01:00
parent e3dfbdfd3d
commit bc54791010
5 changed files with 19 additions and 17 deletions

View File

@ -4378,7 +4378,7 @@ best_access_path(JOIN *join,
*/
if (table->quick_keys.is_set(key) &&
(const_part & ((1 << table->quick_key_parts[key])-1)) ==
((1 << table->quick_key_parts[key])-1) &&
(((key_part_map)1 << table->quick_key_parts[key])-1) &&
table->quick_n_ranges[key] == 1 &&
records > (double) table->quick_rows[key])
{