Issue Bug Closed

#21978t3lib_cache_backend_dbbackendtestcase does not reflect current db backend table definitions

Christian Kuhn 01/17/10, 18:00 updated 07/02/10, 11:16

Description

Type: Bugfix, nobrainer

Branches: trunk, 4.3

Problem:
The db backend defines those fields for cache tables:
id int(11) unsigned NOT NULL auto_increment,
identifier varchar(128) DEFAULT ‘’ NOT NULL,
crdate int(11) unsigned DEFAULT ‘0’ NOT NULL,
content mediumtext,
lifetime int(11) unsigned DEFAULT ‘0’ NOT NULL,
But the testcase uses this definiton:
id int(11) unsigned NOT NULL auto_increment,
identifier varchar(250) DEFAULT ‘’ NOT NULL,
crdate int(11) unsigned DEFAULT ‘0’ NOT NULL,
content mediumtext,
tags mediumtext,
lifetime int(11) unsigned DEFAULT ‘0’ NOT NULL,

Solution:
- Change identifier varchar(250) to 128
- Remove tags field

(issue imported from #M13270)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.