server
server copied to clipboard
MDEV-28730 Remove internal parser usage from InnoDB fulltext
trafficstars
- [x] The Jira issue number for this PR is: MDEV-28730
Description
- Introduce a class FTSQueryExecutor to handle the queries for FTS internal tables. Basically it creates a query, prepares the table for read or write process. Build a tuple based on the given table and assign the FTS_CONFIG, FTS_COMMON_TABLES and FTS_AUX_TABLE fields based on the given value. This also handles insert, delete, search, read all entries and delete all entries as of now.
How can this PR be tested?
./mtr --suite=innodb_fts
If the changes are not amenable to automated testing, please explain why not and carefully describe how to test manually.
Basing the PR against the correct MariaDB version
- [x] This is a new feature or a refactoring, and the PR is based against the
mainbranch. - [ ] This is a bug fix, and the PR is based against the earliest maintained branch in which the bug can be reproduced.
PR quality check
- [x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
- [x] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.