Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
database system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2005 at 11:28 UTC
Updated:
26 Sep 2006 at 16:15 UTC
There are some (or even many) differences between database after updating from 4.6 to head and database.* from head.
For example:
from update_146():
- in update() primary key of forum is set to vid, and in database.* it's nid
- (this might not be a bug):
in update there is "ALTER TABLE {node_revisions} ADD PRIMARY KEY vid (vid)" but in database.mysql primary key is on (vid, nid).
Does this mean that update is wrong or do alter table concatenates new primary key with an existing one (if it does exists)?
Comments
Comment #1
Cvbge commentedThere is KEY(vid) in node table in databaes.*, there is no key in/after update()
Comment #2
Zen commentedThis still appears to be the case - *bump* + subscribe.
Thanks
-K
Comment #3
Cvbge commentedThe "- in update() primary key of forum is set to vid, and in database.* it's nid" should be fixed by http://drupal.org/node/45810. Other problems seem to be still there.
Comment #4
Zen commentedThe node_revisions issue should be fixed shortly.
-K
Comment #5
magico commentedComment #6
(not verified) commented