Skip to content
Permalink
Browse files
ASAN error in main.statistics_index_crash-7362
one cannot do keyread on spatial indexes.
  • Loading branch information
vuvova committed Apr 17, 2018
1 parent 226ec99 commit 4f5dd1d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2475,7 +2475,7 @@ int collect_statistics_for_index(THD *thd, TABLE *table, uint index)
DBUG_ENTER("collect_statistics_for_index");

/* No statistics for FULLTEXT indexes. */
if (key_info->flags & HA_FULLTEXT)
if (key_info->flags & (HA_FULLTEXT|HA_SPATIAL))
DBUG_RETURN(rc);

Index_prefix_calc index_prefix_calc(table, key_info);

0 comments on commit 4f5dd1d

Please sign in to comment.