Bug #19923

Table definition in cache_treelist not compliant with MySQL 5.0 strict mode

Added by Steffen Müller over 6 years ago. Updated almost 5 years ago.

Status:Closed Start date:2009-01-27
Priority:Should have Due date:
Assigned To:Benjamin Mack % Done:

0%

Category:- Spent time: -
Target version:-
TYPO3 Version:4.3 Is Regression:
PHP Version:4.3 Sprint Focus:
Complexity:

Description

The table cache_treelist was introduced in revision 3947. The column treelist of type TEXT has a NOT NULL property which breaks MySQL 5 strict mode compatibility.
Removing the NOT NULL property fixes the issue.

#
  1. Table structure for table 'cache_treelist' #
    CREATE TABLE cache_treelist (
    md5hash char(32) DEFAULT '' NOT NULL,
    pid int(11) DEFAULT '0' NOT NULL,
    treelist text NOT NULL,
    tstamp int(11) DEFAULT '0' NOT NULL,
    expires int(11) unsigned DEFAULT '0' NOT NULL,
    PRIMARY KEY (md5hash)
    ) ENGINE=InnoDB;
    (issue imported from #M10282)

bug_10282.diff Magnifier (498 Bytes) Administrator Admin, 2009-01-27 11:26


Related issues

related to Core - Bug #16809: FIX FOR Typo3 basic tables definition not compliant with ... Closed 2006-12-22

Also available in: Atom PDF