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

           Summary: Wrap initial table creation in transaction
           Product: MediaWiki
           Version: 1.17
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Installation
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: roan.katt...@gmail.com
                CC: innocentkil...@gmail.com
            Blocks: 26611


Due to a local snafu one of the last lines in my tables.sql contained an SQL
error. This caused all tables to be created, then that line to fail and the
lines below to be skipped. However, when running the installer again it refused
to run tables.sql because the tables were already there.

We should wrap the inital table creation in a transaction so any failure
anywhere in tables.sql causes no tables to be created whatsoever.

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

Reply via email to