Saw this warning when updating the database after upgrading to the latest version of 6.x-1.dev
user warning: Duplicate entry 'xmlsitemap_engines_cron_submit_frequency' for key 1 query: UPDATE variable SET name = 'xmlsitemap_engines_cron_submit_frequency' WHERE name = 'xmlsitemap_cron_submit_frequency' in /xxx/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.install on line 47.
and then further down below
Update #6105
Failed: UPDATE {variable} SET name = 'xmlsitemap_engines_cron_submit_frequency' WHERE name = 'xmlsitemap_cron_submit_frequency'
Comments
Comment #1
Anonymous (not verified) commentedFrom what version did you upgrade? If you already had 'xmlsitemap_engines_cron_submit_frequency' in the variable table it sounds as if you've updated already. See #379854-128: The site map is not being populated.
Comment #2
avpadernoIt seems the update was from the Drupal 5 branch. The code is executed in both
xmlsitemap_engine_update_6000(), andxmlsitemap_engine_update_6105()(which simply recallsxmlsitemap_engine_update_6000().I will fix this problem.
Comment #3
avpadernoI changed the code in CVS.
Thanks for your report.