1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge /my/maria-10.1-default into 10.1

This commit is contained in:
Monty
2015-08-18 11:27:00 +03:00
204 changed files with 6955 additions and 6330 deletions

View File

@@ -2931,9 +2931,11 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item **cond)
break;
bitmap_set_bit(&handled_columns, key_part->fieldnr-1);
}
double selectivity_mult;
if (i)
{
double selectivity_mult;
UNINIT_VAR(selectivity_mult);
/*
There is at least 1-column prefix of columns whose selectivity has
not yet been accounted for.