Hi,
following error occur during install (in MySQL version 5.0.27, Drupal 5.1):
user warning: BLOB/TEXT column 'settings' can't have a default value query: CREATE TABLE mss_textimage_preset ( pid INT UNSIGNED NOT NULL PRIMARY KEY, name VARCHAR(255) NOT NULL DEFAULT '', settings TEXT NOT NULL DEFAULT '' ) /*!40100 DEFAULT CHARACTER SET utf8 */ in ...\includes\database.mysql.inc on line 167.
create table statement for mysql should be changed to:
db_query('CREATE TABLE {textimage_preset} (
pid INT UNSIGNED NOT NULL PRIMARY KEY,
name VARCHAR(255) NOT NULL DEFAULT \'\',
settings TEXT NOT NULL)
/*!40100 DEFAULT CHARACTER SET utf8 */'
);
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | textimage_148217.patch | 821 bytes | drewish |
Comments
Comment #1
drewish commentedit's true. here's a patch.
Comment #2
wundo commentedcommitted,
thanks
Comment #3
(not verified) commented