I just downloaded Drupal 4.5.2 and in the database.mysql file, there was an error in one of the SQL statements.
In the CREATE TABLE filter_formats statement (lines 243-249), the error is on line 248.
That line reads, PRIMARY KEY format (format)
If should read, PRIMARY KEY (format)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | dbtweak.patch | 8.42 KB | drumm |
| #3 | 01_dbtweak.patch | 14.83 KB | morbus iff |
| #1 | database.mysql | 19.66 KB | Jiminator |
Comments
Comment #1
Jiminator commentedI posted this, but didn't have a log in at the time. I'm attaching the corrected file.
Jiminator.
Comment #2
jeremy commentedThis bug was mis-advertantly assigned to the dba module. It's regarding the core mysql database file. Reassigning.
Comment #3
morbus iffI could not replicate the error in HEAD with MySQL 4.0.15: the database.mysql imported just fine, and the primary key was set properly for the format column. With that said, this particular line does not follow the format of any of the other PRIMARY KEYs in the MySQL file, and thus, attached is a patch to standardize the format PRIMARY KEYs are defined, as well as whitespacing. Same goes for the pgsql file.
Comment #4
drummThe whitespacing in the mysql file is fixed in HEAD. Attached is a patch to remove a couple random double spaces and remove the double spacing in the pgsql file.
Comment #5
drummComment #6
Steven commentedCommited to HEAD.
Comment #7
Steven commentedComment #8
(not verified) commentedComment #9
drumm