Closed (outdated)
Project:
Bibliography Module
Version:
6.x-1.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2009 at 09:08 UTC
Updated:
21 Dec 2018 at 15:18 UTC
Jump to comment: Most recent
Comments
Comment #1
Frank Steiner commentedI got a little help from a mysql expert. He told me that the primary key could not be deleted because cid has "auto_increment" set.
He proposed to remove that extra, then delete the PRI from cid, then add it for (cid,aka) and re-add the auto_increment.
I don't see auto_increment anywhere in the scheme definition in biblio.install, but after deleting biblio (including the removal of all tables) and reinstalling it, the table looks like this
so I guess the above steps would be ok?
Comment #2
rjerome commentedHi Frank, long time no hear...
In "Drupal Schema" speak, auto_increment is "serial"...
Ron.
Comment #3
Frank Steiner commentedYes, our drupal installation was sitting asleep ;-) Now I need to upgrade some stuff.
Ok, I understand that I can fix the stuff with the steps above. But I guess the update code should remove the autoincrement first to avoid this bug, right?
Comment #4
rjerome commentedCorrect, although I'm surprised you are the first to run into this. I'll have to try an upgrade from 1.1 -> 1.7 and see what happens.
Comment #5
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.