Skip to content
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

[4.0] com_finder: Properly truncate the taxonomy table #20939

Merged
merged 1 commit into from
Jul 1, 2018

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Jun 30, 2018

All tables of com_finder are properly truncated when purging the index, except for the taxonomy table. In that table everything is deleted, except for the root node. That means that deleting this data takes basically the longest, but most importantly the autoincrement value is not reset. There isn't really a reason for this, so I'm changing this to actually truncate the table and re-insert the root node each time instead.

There isn't really a way to test this, other than to see that the purge feature still works the way it did before. It rather requires a codereview.

@wilsonge wilsonge merged commit b7d8e1f into joomla:4.0-dev Jul 1, 2018
@wilsonge wilsonge added this to the Joomla 4.0 milestone Jul 1, 2018
wilsonge pushed a commit to wilsonge/joomla-cms that referenced this pull request Jul 6, 2018
@Hackwar Hackwar deleted the j4finder_purge branch April 27, 2019 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants