Fixed bug #10282: Table definition in cache_treelist not compliant with MySQL 5.0...
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / mod / class.tx_install.php
index 7082374..744c2b9 100755 (executable)
@@ -4406,12 +4406,12 @@ From sub-directory:
                                        if ($max>0 && $max<200) {
                                                $out = 'varchar('.$max.") NOT NULL default ''";
                                        } else {
-                                               $out = 'tinytext NOT NULL';
+                                               $out = 'tinytext';
                                        }
                                }
                        break;
                        case 'text':
-                               $out = 'text NOT NULL';
+                               $out = 'text';
                        break;
                        case 'check':
                                if (is_array($fieldInfo['config']['items']) && count($fieldInfo['config']['items'])>8)  {
@@ -4501,7 +4501,7 @@ From sub-directory:
         * @return      [type]          ...
         */
        function getItemBlobSize($len)  {
-               return ($len>255 ? 'tiny' : '').'blob NOT NULL';
+               return ($len>255 ? 'tiny' : '').'blob';
        }
 
        /**