Fixed bug #825 by adding longtext to the list of known data types.
authorKarsten Dambekalns <karsten.dambekalns@typo3.org>
Wed, 23 Mar 2005 15:16:27 +0000 (15:16 +0000)
committerKarsten Dambekalns <karsten.dambekalns@typo3.org>
Wed, 23 Mar 2005 15:16:27 +0000 (15:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@583 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_sqlparser.php

index 8c55ed6..bf05504 100755 (executable)
@@ -957,7 +957,7 @@ class t3lib_sqlparser {
                $result = array();
 
                        // Field type:
-               if ($result['fieldType'] =  $this->nextPart($parseString,'^(int|smallint|tinyint|mediumint|bigint|double|numeric|decimal|varchar|char|text|tinytext|mediumtext|blob|tinyblob|mediumblob|longblob)([[:space:]]+|\()'))   {
+               if ($result['fieldType'] =  $this->nextPart($parseString,'^(int|smallint|tinyint|mediumint|bigint|double|numeric|decimal|varchar|char|text|tinytext|mediumtext|longtext|blob|tinyblob|mediumblob|longblob)([[:space:]]+|\()'))  {
 
                                // Looking for value:
                        if (substr($parseString,0,1)=='(')      {