[BUGFIX] Change sys_file.size type from INT to BIGINT 37/31737/3
authorStefan Neufeind <typo3.neufeind@speedpartner.de>
Wed, 23 Jul 2014 11:05:37 +0000 (13:05 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 24 Jul 2014 12:12:56 +0000 (14:12 +0200)
Regular INT limits filesize to 2GB.

Change-Id: I525bd53bff6495630bd5880c8ef8789a1d9bbf26
Resolves: #60327
Releases: 6.3, 6.2
Reviewed-on: http://review.typo3.org/31737
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/ext_tables.sql

index b72bcfa..0bf62f6 100644 (file)
@@ -302,7 +302,7 @@ CREATE TABLE sys_file (
        mime_type varchar(255) DEFAULT '' NOT NULL,
        name tinytext,
        sha1 tinytext,
-       size int(11) DEFAULT '0' NOT NULL,
+       size bigint(20) unsigned DEFAULT '0' NOT NULL,
        creation_date int(11) DEFAULT '0' NOT NULL,
        modification_date int(11) DEFAULT '0' NOT NULL,