mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
Merge 11.4 into 11.8
This commit is contained in:
@@ -2079,12 +2079,9 @@ public:
|
||||
|
||||
for (i= 0, state= calc_state; i < prefixes; i++, state++)
|
||||
{
|
||||
if (i < prefixes)
|
||||
{
|
||||
double val= state->prefix_count == 0 ?
|
||||
0 : (double) state->entry_count / state->prefix_count;
|
||||
index_info->collected_stats->set_avg_frequency(i, val);
|
||||
}
|
||||
double val= state->prefix_count == 0 ?
|
||||
0 : (double) state->entry_count / state->prefix_count;
|
||||
index_info->collected_stats->set_avg_frequency(i, val);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user