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

indexer can get trapped in an infinite loop if it encounters any db error when saving to the search table #26

Open
wluo opened this issue Jun 13, 2013 · 0 comments

Comments

@wluo
Copy link
Contributor

wluo commented Jun 13, 2013

during indexing, if any db error occurs and bcms cannot save new results to the search table, it will get stuck in a loop trying to save the same batch of post content rows. the fix is to check the return value of $wpdb->get_results() in bCMS_Search::reindex() (see https://github.com/misterbisson/bcms/blob/master/components/class-bcms-search.php#L227)

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

No branches or pull requests

1 participant