Project

General

Profile

Actions

Bug #14565

closed

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

Added by Franois Prichon over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-02-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0-dev
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Franois Prichon over 19 years ago

it don't recognize 'bigint' type either

Actions #2

Updated by Karsten Dambekalns over 19 years ago

Added "longtext" to the known types. "bigint" has already been added in CVS on 2005/02/13 together with "numeric" and "decimal".

Actions

Also available in: Atom PDF