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

       Web browser: ---
            Bug ID: 48820
           Summary: Revision query error during convertUserOptions
           Product: MediaWiki
           Version: 1.20.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Installer
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: s...@reedyboy.net
                CC: innocentkil...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Reported in IRC. When updating from 1.16 to 1.21

I'm confused as to why it's running a Revision query during convertUserOptions
being run.

Both the execution of this script, and the addition of rev_sha1 are both 1.19
activities.

Especially if someone can replicate it via testing, I'd probably just suggest
moving the rev_sha1/ar_sha1 additions to the top of the 1.19 section so they'd
be already run...

...batch conversion of user_options: A database query syntax error has
occurred.
The last attempted database query was:
"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,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,user_name
 FROM `revision` INNER JOIN `page` ON ((page_id = rev_page)) LEFT JOIN `user`
ON ((rev_user != 0) AND (user_id = rev_user))  WHERE page_id = '1547' AND
rev_id = '1807'  LIMIT 1  "
from within function "Revision::fetchFromConds".
Database returned error "1054: Unknown column 'rev_sha1' in 'field list'
(10.0.0.48)"

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to