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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user