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

       Web browser: ---
            Bug ID: 46323
           Summary: UIFeedback: Patch for update.php broken (ALTER TABLE
                    syntax error)
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: [other]
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: krinklem...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

ALTER TABLE patches should not include /*$wgDBTableOptions*/, that's only when
creating new tables.

The resulting syntax is invalid in MySQL.



Creating uifeedback table ...A database query syntax error has occurred.
The last attempted database query was:
"ALTER TABLE `uifeedback_reviews`
 ADD CONSTRAINT FOREIGN KEY
 (uifr_feedback_id) REFERENCES uifeedback (uif_id)
 ENGINE=InnoDB, DEFAULT CHARSET=binary
"
from within function "DatabaseBase::sourceFile(
/srv/mediawiki/extensions/UIFeedback/table.sql )".
Database returned error "1064: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near 'ENGINE=InnoDB, DEFAULT CHARSET=binary' at line 4 (localhost)"

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

Reply via email to