Issue Bug Closed

#14565SQL parser do not regognize 'longtext' type as a valid sql type

Franois Prichon 02/21/05, 16:37 updated 08/12/06, 14:26

Description

We recently try to install the chcforum and stumbled into this bug.

Fix :
replace t3lib/class.t3lib_sqlparser.php line 960
if ($result[‘fieldType’] = $this->nextPart($parseString,’^(int|smallint|tinyint|mediumint|double|varchar|char|text|tinytext|mediumtext|blob|tinyblob|mediumblob|longblob)([[:space:]]+|\()’)) {
byif ($result[‘fieldType’] = $this->nextPart($parseString,’^(int|smallint|tinyint|mediumint|double|varchar|char|text|tinytext|mediumtext|longtext|blob|tinyblob|mediumblob|longblob)([[:space:]]+|\()’)) {

(issue imported from #M825)

Reviews 0

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