Closed (fixed)
Project:
Image
Version:
6.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2009 at 18:27 UTC
Updated:
26 Aug 2009 at 05:09 UTC
hey there,
I upgraded from 6.x-1.0-alpha4 to 6.x-1.0-DEV and got the following messages:
user warning: Can't DROP 'PRIMARY'; check that column/key exists query: ALTER TABLE image DROP PRIMARY KEY in /home/luco/public_html/drupal/includes/database.mysql-common.inc on line 386.
user warning: Can't DROP 'image_fid'; check that column/key exists query: ALTER TABLE image DROP INDEX image_fid in /home/luco/public_html/drupal/includes/database.mysql-common.inc on line 448.it's not a fresh install, but definitively not one with many modules. running D6.12. I can provide more info if you folks need.
cheers,
Luciano
Comments
Comment #1
sunBetter title. Previous one shocked me a bit.
You can safely ignore this error. As of now, we cannot prevent it from happening, because Drupal core does not provide methods to get defined primary key and indexes of a database table.
Comment #2
joachim commentedShould we add something to the docs about this?
Comment #3
sunWe should probably add a note on the project page when we publish the next release (alpha? beta? rc? first stable?)
Comment #4
luco commentedLOL sorry for the defcon-like alarm. show and tell FAIL.
anyway, thanks for the support. I've already ignored the error, since I run Demonstration Site anyway ;]
Comment #6
sunRe-marking as fixed again to hopefully prevent some duplicates.
Comment #8
Hetta commentedmarked http://drupal.org/node/559564 as duplicate.