I get the below PDOException when trying to uninstall the user module on a Drupal 7 RC3 site:

PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''xmlsitemap_settings_user_%%' at line 1: DELETE FROM {variable} WHERE name LIKE 'xmlsitemap_settings_user_%%; Array ( ) in xmlsitemap_user_uninstall() (line 36 of [path]\sites\all\modules\xmlsitemap\xmlsitemap_user\xmlsitemap_user.install).

Comments

Dave Reid’s picture

Status: Active » Fixed

Thanks, I discovered that SQL line is actually unnecessary, so I removed it from CVS for both 7.x-2.x and 6.x-2.x.
http://drupal.org/cvs?commit=471576

tsvenson’s picture

Thanks, tried and tested to work as it says on the tin now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.