On Windows, mySQL does not like blob/text fields to have a default set, causing this error when enabling the module.

user warning: BLOB/TEXT column 'query' can't have a default value query: CREATE TABLE entrez_query ( `qdate` INT NOT NULL DEFAULT 0, `query` TEXT NOT NULL DEFAULT '', `min_date` DATETIME NOT NULL, `max_date` DATETIME NOT NULL, PRIMARY KEY (qdate) ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in xxx\includes\database.inc on line 517.

This patch resolves the issue.

CommentFileSizeAuthor
entrez_default.patch955 bytesbrenda003

Comments

stefan freudenberg’s picture

Assigned: Unassigned » stefan freudenberg
Status: Needs review » Fixed

Applied patch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.