Defaults on text fields prevent installation (HEAD installation is broken)

keith.smith - August 24, 2008 - 10:28
Project:Drupal
Version:7.x-dev
Component:install system
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

As I previously mentioned incorrectly in http://drupal.org/node/298391, apparently defaults on TEXT fields prevent the installation of some tables (namely menu_router and perhaps one other that I no longer recall). The attached patch successfully led to the installation of a brand new HEAD.

AttachmentSize
functional_installation.patch1.08 KB

#1

earnie - August 25, 2008 - 12:04

Keith, what database engine are you having issues with? MyISAM, InnoDB, Postgres, etc

#2

earnie - August 25, 2008 - 12:12
Status:needs review» reviewed & tested by the community

Never mind.

See: http://dev.mysql.com/doc/refman/4.1/en/blob.html

BLOB and TEXT columns cannot have DEFAULT values.

#3

Dries - August 30, 2008 - 10:04
Status:reviewed & tested by the community» fixed

Committed to CVS HEAD.

#4

Damien Tournoud - August 30, 2008 - 11:15

Huh? Do we really want that? I was under the impression that some discussion was going on to treat that as the database engine level.

#5

Damien Tournoud - September 1, 2008 - 16:05
Status:fixed» active

I'm convinced we need a better solution for this.

 
 

Drupal is a registered trademark of Dries Buytaert.