From: umherirrender Date: Mon, 23 Jun 2014 18:58:37 +0000 (+0200) Subject: Correct comment about getPropsFromPath/sha1Base36 in sql files X-Git-Tag: 1.31.0-rc.0~15286 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=e121205cb36ed91fe2292d5b43992f36cdffab0e;p=lhc%2Fweb%2Fwiklou.git Correct comment about getPropsFromPath/sha1Base36 in sql files The function of class File are deprecated, so change comment to FSFile. Change-Id: I2350b2d6d6b09d4d2f6d64ab04891e0911595cb0 --- diff --git a/maintenance/archives/patch-uploadstash.sql b/maintenance/archives/patch-uploadstash.sql index 14eaeab082..c1d93ef342 100644 --- a/maintenance/archives/patch-uploadstash.sql +++ b/maintenance/archives/patch-uploadstash.sql @@ -26,10 +26,10 @@ CREATE TABLE /*_*/uploadstash ( us_status varchar(50) not null, - -- file properties from File::getPropsFromPath. these may prove unnecessary. + -- file properties from FSFile::getProps(). these may prove unnecessary. -- us_size int unsigned NOT NULL, - -- this hash comes from File::sha1Base36(), and is 31 characters + -- this hash comes from FSFile::getSha1Base36(), and is 31 characters us_sha1 varchar(31) NOT NULL, us_mime varchar(255), -- Media type as defined by the MEDIATYPE_xxx constants, should duplicate definition in the image table diff --git a/maintenance/mssql/tables.sql b/maintenance/mssql/tables.sql index fb8db08160..bccf366d14 100644 --- a/maintenance/mssql/tables.sql +++ b/maintenance/mssql/tables.sql @@ -736,12 +736,12 @@ CREATE TABLE /*_*/uploadstash ( -- chunk counter starts at 0, current offset is stored in us_size us_chunk_inx int NULL, - -- Serialized file properties from File::getPropsFromPath + -- Serialized file properties from FSFile::getProps() us_props nvarchar(max), -- file size in bytes us_size int NOT NULL, - -- this hash comes from File::sha1Base36(), and is 31 characters + -- this hash comes from FSFile::getSha1Base36(), and is 31 characters us_sha1 nvarchar(31) NOT NULL, us_mime nvarchar(255), -- Media type as defined by the MEDIATYPE_xxx constants, should duplicate definition in the image table diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 67696f29f5..4f1fbbd7a3 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1001,12 +1001,12 @@ CREATE TABLE /*_*/uploadstash ( -- chunk counter starts at 0, current offset is stored in us_size us_chunk_inx int unsigned NULL, - -- Serialized file properties from File::getPropsFromPath + -- Serialized file properties from FSFile::getProps() us_props blob, -- file size in bytes us_size int unsigned NOT NULL, - -- this hash comes from File::sha1Base36(), and is 31 characters + -- this hash comes from FSFile::getSha1Base36(), and is 31 characters us_sha1 varchar(31) NOT NULL, us_mime varchar(255), -- Media type as defined by the MEDIATYPE_xxx constants, should duplicate definition in the image table