Fixed bug #825 by adding longtext to the list of known data types.
[Packages/TYPO3.CMS.git] / 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)=='(')      {