It appears that the search_keywords_log will never be purged. And, the accesslog table is purged instead!
/**
* Implementation of hook_cron().
*/
function search_keywords_cron() {
/* clean expired access logs */
db_query('DELETE FROM {accesslog} WHERE timestamp < %d', time() - variable_get('search_keywords_flush_accesslog_timer', 259200));
}
If I am correct, this means that the search_keywords_log table can grow to unlimited size.
Comments
Comment #1
mcurry commentedPlease find attached patch - This should do the trick.
Comment #2
mcurry commentedOops, lost attachment. Let's try again.
Comment #3
mcurry commentedOk, I'm confused - I've tried attaching the patch file twice, and nothing appears. Perhaps drupal.org is feeling under the weather? Here's the text of the patch:
I'll try attaching it one more time
Comment #4
mcurry commentedTrying to attach patch file. If it doesn't work, email me (exodusdev@gmail.com) for the file, I'll send it to you.
Comment #5
mcurry commentedOr, give me CVS access and I'll apply the patch myself.
Thanks!
Comment #6
sugree commentedOops! It's all my fault.
Comment #7
(not verified) commented