Permalink
Browse files

Followup:BUG#20637494 ASSERTION IN RE-CREATING CORRUPTED INNODB FULLT…

…EXT INDEX

Fix the pb2 failure.

Reviewed-by: Jimmy Yang <jimmy.yang@oracle.com> over IM
  • Loading branch information...
Shaohua Wang
Shaohua Wang committed May 29, 2015
1 parent 4395ad1 commit 3bdb4573e9b25357eea2421647263216c36367cb
Showing with 2 additions and 2 deletions.
  1. +2 −2 storage/innobase/handler/handler0alter.cc
@@ -3489,11 +3489,11 @@ ha_innobase::prepare_inplace_alter_table(
/* We need to drop any corrupted fts indexes
before we add a new fts index. */
if (add_fts_idx && index->type & DICT_CORRUPT) {
ib_errf(m_user_thd, IB_LOG_LEVEL_ERROR,
ib_errf(user_thd, IB_LOG_LEVEL_ERROR,
ER_INNODB_INDEX_CORRUPT,
"Fulltext index '%s' is corrupt. "
"you should drop this index first.",
index->name());
index->name);
goto err_exit_no_heap;
}

0 comments on commit 3bdb457

Please sign in to comment.