Added three new types to parseFieldDef() - bigint, numeric, decimal. They all get...
authorKarsten Dambekalns <karsten.dambekalns@typo3.org>
Sun, 13 Feb 2005 18:15:45 +0000 (18:15 +0000)
committerKarsten Dambekalns <karsten.dambekalns@typo3.org>
Sun, 13 Feb 2005 18:15:45 +0000 (18:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@559 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_sqlparser.php

index df07db5..8c55ed6 100755 (executable)
@@ -957,7 +957,7 @@ class t3lib_sqlparser {
                $result = array();
 
                        // Field type:
-               if ($result['fieldType'] =  $this->nextPart($parseString,'^(int|smallint|tinyint|mediumint|double|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|blob|tinyblob|mediumblob|longblob)([[:space:]]+|\()'))   {
 
                                // Looking for value:
                        if (substr($parseString,0,1)=='(')      {