Skip to content

Commit

Permalink
Followup:BUG#20637494 ASSERTION IN RE-CREATING CORRUPTED INNODB FULLT…
Browse files Browse the repository at this point in the history
…EXT INDEX

Fix the pb2 innodb_fts.fts_compatibility failure.

Reviewed-by: Jimmy Yang <jimmy.yang@oracle.com> over IM
  • Loading branch information
Shaohua Wang committed Jun 1, 2015
1 parent 6ff8d5d commit d9d2140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mysql-test/suite/innodb_fts/r/fts_compatibility.result
Expand Up @@ -146,6 +146,7 @@ ERROR HY000: The table does not have FULLTEXT index to support this query
SELECT * FROM t1 WHERE MATCH(c) AGAINST ('TEXT5');
ERROR HY000: The table does not have FULLTEXT index to support this query
ALTER TABLE t1 ADD FULLTEXT(b);
ERROR HY000: Index corrupt: Fulltext index 'AB' is corrupt. you should drop this index first.
# Restart the server
SELECT * FROM t1 WHERE MATCH(a, b) AGAINST ('TEST2');
ERROR HY000: The table does not have FULLTEXT index to support this query
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/innodb_fts/t/fts_compatibility.test
Expand Up @@ -111,6 +111,7 @@ SELECT * FROM t1 WHERE MATCH(a, b) AGAINST ('TEST2');
--error ER_TABLE_HAS_NO_FT
SELECT * FROM t1 WHERE MATCH(c) AGAINST ('TEXT5');

--error ER_INNODB_INDEX_CORRUPT
ALTER TABLE t1 ADD FULLTEXT(b);

--echo # Restart the server
Expand Down

0 comments on commit d9d2140

Please sign in to comment.