[MDEV-7523] Behaviour fulltext search MyISAM vs. InnoDB (MariaDB 10.0.15) Created: 2015-01-28 Updated: 2015-06-16 Resolved: 2015-06-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Full-text Search, Storage Engine - InnoDB |
| Affects Version/s: | 10.0.15 |
| Fix Version/s: | 10.0.20 |
| Type: | Bug | Priority: | Major |
| Reporter: | Florian Gusinde | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | upstream-fixed, verified | ||
| Environment: |
Debian 7 x86_64 |
||
| Issue Links: |
|
||||||||
| Sprint: | 10.0.20 | ||||||||
| Description |
|
I'm currently trying to migrate a database from MySQL 5.5 to MariaDB 10.x because the application (not mine) is using fulltext search in MyISAM and we have a lot of trouble with table locks. I have a testing system and stripped down information here:
MariaDB version is 10.0.15-MariaDB-1~trusty. As you can see there's a different behaviour on MyISAM (count=2) and InnoDB (count=0). The reason for that is down in the fulltext index:
So my conclusion is InnoDB having troubles with empty string ('') but not with NULL values in fulltext search. So I think it's an engine-related problem. |
| Comments |
| Comment by Florian Gusinde [ 2015-01-29 ] | ||||||||||||||||||||
|
Additional info: Testing on Aria Engine works, too. | ||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-02-02 ] | ||||||||||||||||||||
|
Thanks for the report and the test case. Our normal practice is to re-report upstream bugs at bugs.mysql.com. Are you willing to do it, or should we do it on your behalf? The test case below is basically the same as in the description, just put together for MTR:
| ||||||||||||||||||||
| Comment by Florian Gusinde [ 2015-02-02 ] | ||||||||||||||||||||
|
Please re-report this bug to bugs.mysql.com so it will take the right way. Thank you! | ||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-02-03 ] | ||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-02-19 ] | ||||||||||||||||||||
|
Fixed in 5.7.7, 5.8.0 | ||||||||||||||||||||
| Comment by Sergei Golubchik [ 2015-02-20 ] | ||||||||||||||||||||
|
This bug should be fixed in MariaDB 10.0.18, that is supposed to have InnoDB 5.6.24 | ||||||||||||||||||||
| Comment by Jasper Schaart [ 2015-05-06 ] | ||||||||||||||||||||
|
Also different with MariaDB Fulltext InnoDB index (Great work BTW), is that all columns must be in the Query instead a few all full text columns must be given. Otherwise an 'Can't find FULLTEXT index matching the column list' will be returned. BTW @Florian Gusinde Are you sure your query is right? With the double ('(" ? ")') ? | ||||||||||||||||||||
| Comment by Florian Gusinde [ 2015-05-08 ] | ||||||||||||||||||||
|
It's not "my" query but I think it is right. Double brackets are okay, I think. From my side bug is fixed, of course you need an exactly matching key, e.g.
Thank you! Regards, Florian | ||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-06-09 ] | ||||||||||||||||||||
It's fixed in InnoDB plugin, which is 5.6.24, but not in XtraDB, which is still 5.6.23. Hopefully MariaDB 10.0.20 has a newer XtraDB. |