Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5265

have_innodb should be restored in MariaDB 10

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      I think the have_innodb variable should be restored in MariaDB 10 as there are some PHP applications (tested with Magento) that check for the existance of INNODB storage engine with the contents of that variable.

      In their database connector I had to change:

      $variables  = $this->_getConnection()
                  ->fetchPairs('SHOW VARIABLES');
              return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;

      To

      $engines  = $this->_getConnection()
                  ->fetchPairs('SHOW ENGINES');
      		return (!isset($engines['InnoDB']) || $engines['InnoDB'] != 'YES') ? false : true;

      And managed it to pass the check.

      Still I'd like that the have_innodb removal is reverted in order to restore compatibility with other software.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jorge Silva Jorge Manuel Silva
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.