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

       Web browser: ---
            Bug ID: 45153
           Summary: SQL syntax problem in patch-rev_sha1.sql
           Product: MediaWiki
           Version: 1.20.2
          Hardware: PC
                OS: Windows Server 2008
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Maintenance scripts
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Installed new version of mediawiki and ran update.sql, which produced a syntax
error in file patch-rev_sha1.sql
Opened the file and saw that the ADD command had no "COLUMN"

So I ran 
ADD COLUMN rev_sha1 varbinary(32) NOT NULL default '';
from PHPMyAdmin, which added the new column and that got everything working
again.

Original SQL command that produced the error:
ADD rev_sha1 varbinary(32) NOT NULL default '';

Hope this is helpful.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to