From: Petr Pchelko Date: Thu, 19 Sep 2019 17:53:19 +0000 (-0700) Subject: Remove Revision::getRevisionText from migrateArchiveText X-Git-Tag: 1.34.0-rc.0~119^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=b6dfaa50ad317aa8da0446431ddd6bc5afec9c12;hp=b6dfaa50ad317aa8da0446431ddd6bc5afec9c12 Remove Revision::getRevisionText from migrateArchiveText The script is used to migrate archive text from pre-1.5 schema. It's safe it just use the `ar_text` field directly instead of going to Revision::getRevisionText since migrating this field is the whole proing of the script. Per execution it checks that the field exists in the schema, the SQL query reads the field. We don't need to do `expandBlob` either, cause we already know that the data is not in external store, thus Revision::decompressData is enough. Bug: T198343 Change-Id: Ic838bdf680d73522dd508dd86056eb945535b368 ---