-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for failure (fatal error and silent failure) to clean up full text indices #20921
Conversation
(Standard links)
|
0f3b41a
to
00abbd8
Compare
00abbd8
to
53cec3b
Compare
53cec3b
to
f83d7e3
Compare
@eileenmcnaughton I tried this on Max (5.7) and edge (mysql 8) on Max it worked but on edge it failed with
I then changed the Select in your query to have AS index_name on the end and that made the tests pass on MySQL 8 |
@seamuslee001 did you try with the alias against the other versions? |
I guess it's case? |
Yeh MySQL8 seems to use the actual column name case rather than what you have in the query which is annoying |
f83d7e3
to
bd34326
Compare
@seamuslee001 I've updated it |
if this passes PR tests then we are good |
Overview
Fix for failure to clean up full text indices
This builds on the test that fails on mariadb 10.4 locally #20920 and adds a fix that works for me locally based on
https://stackoverflow.com/questions/4107599/show-a-tables-fulltext-indexed-columns
Before
Hard fail when calling
findActualFtsIndexNames
on mariabd 10.4 locally. When I fix it to call the sql in the 'non mysql 8 way' to reflect the tables that are present I get an error on the new test assertion that checks the FULL TEXT indexes were found and deleted.After
Locally this successfully indentifies and deletes the indices.
Technical Details
This is also much simpler - the question is whether it works on all sql versions in our matrix
Comments