#21978t3lib_cache_backend_dbbackendtestcase does not reflect current db backend table definitions
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.