Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8998

R40000 Data Migration does not always properly detect MySQL MyISAM database

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0-milestone-2
    • Fix Version/s: 5.0-rc-1, 4.5.4
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      While we do not support MyISAM anymore, the migration still try some basic detection and provide appropriate processing. The detection was done by finding "ENGINE=MyISAM" inside the answer to "SHOW CREATE TABLE xwikidoc;". But this seems to not be working on some DBs.
      This patch use an alternative method, which is checking the second column of "SHOW TABLE STATUS LIKE 'xwikidoc';" to be equals to "MyISAM". I hope this will prove to be more reliable. At least, it fix the DB on which the issue was encountered.

        Attachments

          Activity

            People

            • Assignee:
              softec Denis Gervalle
              Reporter:
              softec Denis Gervalle
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: