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

R40000 Data Migration does not always properly detect MySQL MyISAM database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0-rc-1, 4.5.4
    • 5.0-milestone-2
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: