diff options
Diffstat (limited to 'storage/innobase/pars/pars0opt.cc')
-rw-r--r-- | storage/innobase/pars/pars0opt.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/pars/pars0opt.cc b/storage/innobase/pars/pars0opt.cc index e5f347eedd6..cbed2b39eeb 100644 --- a/storage/innobase/pars/pars0opt.cc +++ b/storage/innobase/pars/pars0opt.cc @@ -345,7 +345,7 @@ opt_calc_index_goodness( /* At least for now we don't support using FTS indexes for queries done through InnoDB's own SQL parser. */ - if (index->type == DICT_FTS) { + if (dict_index_is_online_ddl(index) || (index->type & DICT_FTS)) { return(0); } @@ -400,7 +400,7 @@ opt_calc_index_goodness( } } - /* We have to test for goodness here, as last_op may note be set */ + /* We have to test for goodness here, as last_op may not be set */ if (goodness && dict_index_is_clust(index)) { goodness++; |