X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FtrackBlobs.php;h=36b6f5b459af64fdb8a13765a8a401fe38a65455;hb=21c6ae1163b07da7ac49938f50613c0e1cf262c3;hp=a1e157dc8e95a7011dd0605edc154fa7737b54da;hpb=1a9ba829a5fbf40c0c2835efd441aaa70f9c319b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/trackBlobs.php b/maintenance/storage/trackBlobs.php index a1e157dc8e..36b6f5b459 100644 --- a/maintenance/storage/trackBlobs.php +++ b/maintenance/storage/trackBlobs.php @@ -87,25 +87,6 @@ class TrackBlobs { exit( 1 ); } - // Scan the archive table for HistoryBlobStub objects or external flags (T24624) - $flags = $dbr->selectField( 'archive', 'ar_flags', - 'ar_flags LIKE \'%external%\' OR (' . - 'ar_flags LIKE \'%object%\' ' . - 'AND LOWER(CONVERT(LEFT(ar_text,22) USING latin1)) = \'o:15:"historyblobstub"\' )', - __METHOD__ - ); - - if ( strpos( $flags, 'external' ) !== false ) { - echo "Integrity check failed: found external storage pointers in your archive table.\n" . - "Run normaliseArchiveTable.php to fix this.\n"; - exit( 1 ); - } elseif ( $flags ) { - echo "Integrity check failed: found HistoryBlobStub objects in your archive table.\n" . - "These objects are probably already broken, continuing would make them\n" . - "unrecoverable. Run \"normaliseArchiveTable.php --fix-cgz-bug\" to fix this.\n"; - exit( 1 ); - } - echo "Integrity check OK\n"; }