https://bugzilla.wikimedia.org/show_bug.cgi?id=40860

       Web browser: ---
             Bug #: 40860
           Summary: Maintenance::purgeRedundantText() fails on old
                    archived revisions
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Created attachment 11159
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11159
Handle NULL values in `archive`.`ar_text_id`

If the `ar_text` field contains the text of the archived revision in the
`archive` table, the `ar_text_id` field is NULL. Scanning a database with such
fields will insert a NULL value to the set of text IDs, which renders the
generated SQL query invalid.

Attached is a patch with a possible solution.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to