Bug #69412 | Updating an FTS indexed column returns “Invalid InnoDB FTS Doc ID” | ||
---|---|---|---|
Submitted: | 6 Jun 2013 4:51 | Modified: | 14 Jun 2013 15:00 |
Reporter: | Cedric Rochefolle | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: FULLTEXT search | Severity: | S2 (Serious) |
Version: | 5.6.11 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | full-text search, INDEX, UPDATE |
[6 Jun 2013 4:51]
Cedric Rochefolle
[6 Jun 2013 9:19]
MySQL Verification Team
Hello Cedric, Thank you for the report. Verified as described. Thanks, Umesh
[14 Jun 2013 15:00]
Bugs System
I *believe* the MySQL Documentation being referred to in this bug is this blog article: https://blogs.oracle.com/mysqlinnodb/entry/innodb_full_text_search_performance (but I couldn be wrong). Regardless, an update has been made to the MySQL reference manual for 5.6 and 5.7: http://dev.mysql.com/doc/refman/5.6/en/optimizing-innodb-bulk-data-loading.html http://dev.mysql.com/doc/refman/5.7/en/optimizing-innodb-bulk-data-loading.html The revised content will appear shortly, with the next doc build. Thank you for the bug report.
[4 Feb 2016 6:44]
monty solomon
It also fails when the table has a PRIMARY KEY. CREATE TABLE `fts` ( `id` varchar(36) NOT NULL, `reason` varchar(500) NOT NULL, `FTS_DOC_ID` bigint(20) unsigned NOT NULL AUTO_INCREMENT, PRIMARY KEY (`id`), UNIQUE KEY `FTS_DOC_ID_INDEX` (`FTS_DOC_ID`), FULLTEXT KEY `reason` (`reason`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8; mysql> INSERT IGNORE INTO fts (id, reason) VALUES (UUID(), 'unknown'); ERROR 182 (HY000): Invalid InnoDB FTS Doc ID mysql> INSERT INTO fts (id, reason) VALUES (UUID(), 'unknown'); ERROR 182 (HY000): Invalid InnoDB FTS Doc ID Using 5.6.25