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

       Web browser: ---
            Bug ID: 60531
           Summary: Media deletion fails with database error on PostgreSQL
                    backend
           Product: MediaWiki
           Version: 1.22.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

At least on SQL query used for media deletion is incorrectly generated for
PostgreSQL backends: In the FROM clause tables are missing:

SELECT
rev_id,rev_page,rev_text_id,rev_timestamp,rev_comment,rev_user_text,rev_user,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,rev_content_format,rev_content_model,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,user_name
 FROM "mwuser"   WHERE page_id = '207' AND rev_id = '1239'  LIMIT 1   FOR
UPDATE OF page

-- 
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