[drupal-devel] [bug] "TYPES" is not a legal field name table "BLOCKS"

Dries drupal-devel at drupal.org
Wed Feb 9 21:39:55 UTC 2005


 Project:      Drupal
 Version:      cvs
 Component:    block.module
 Category:     bug reports
 Priority:     critical
 Assigned to:  Anonymous
 Reported by:  Philippe
 Updated by:   Dries
 Status:       patch

I suggest we name this field 'nodes'.  Also, we'll need an upgrade path
for those who are running CVS HEAD.


Dries



Previous comments:
------------------------------------------------------------------------

February 5, 2005 - 15:31 : Philippe

There was a "TYPES" field added to the BLOCKS table. MySQL does not like
this; "types" is considered a reserved word. (MySQL-server-4.1.0-0) The
field name needs to be changed to something else.


------------------------------------------------------------------------

February 5, 2005 - 15:37 : Philippe

Attachment: http://drupal.org/files/issues/types.diff (3.51 KB)

here's a patch


------------------------------------------------------------------------

February 9, 2005 - 23:35 : andremolnar

Changing Status to patch.
I guess we didn't catch this - the field wasn't orginally called types.
 Good eye.
andre


-- 
View: http://drupal.org/node/16817
Edit: http://drupal.org/project/comments/add/16817





More information about the drupal-devel mailing list