Upgrading an older Drupal site with the 2004-06-18 update leads to SQL error. It appears to be because the update is adding the same field twice.

INSERT INTO {variable} (name,value) VALUES ('node_sticky_project','s:1:"0";')
OK

INSERT INTO {variable} (name,value) VALUES ('node_sticky_project','s:1:"0";')
FAILED

user error: Duplicate entry 'node_sticky_project' for key 1
query: INSERT INTO variable (name,value) VALUES ('node_sticky_project','s:1:"0";') in
...\includes\database.mysql.inc on line 100.

Note: The site appears to update successfully in spite of this error, thus I'm not marking it as a critical priority bug.

Comments

Steven’s picture

Fixed in CVS. The problem was the underscore in the project.module node types.
Check the settings for promoting/moderating content in the admin. Most likely a couple got reset back to defaults.

Anonymous’s picture