diff --git a/mysql-test/suite/innodb_fts/r/fts_compatibility.result b/mysql-test/suite/innodb_fts/r/fts_compatibility.result index 73c127d5879a..993fb8f1c19b 100644 --- a/mysql-test/suite/innodb_fts/r/fts_compatibility.result +++ b/mysql-test/suite/innodb_fts/r/fts_compatibility.result @@ -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 diff --git a/mysql-test/suite/innodb_fts/t/fts_compatibility.test b/mysql-test/suite/innodb_fts/t/fts_compatibility.test index 0d5220d4a1a4..55acbce34f3d 100644 --- a/mysql-test/suite/innodb_fts/t/fts_compatibility.test +++ b/mysql-test/suite/innodb_fts/t/fts_compatibility.test @@ -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