Fixed bug #16392: Install tool cannot compare "ENGINE" of MySQL Tables when DBAL...
authorXavier Perseguers <typo3@perseguers.ch>
Thu, 18 Nov 2010 16:16:22 +0000 (16:16 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Thu, 18 Nov 2010 16:16:22 +0000 (16:16 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@40420 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/ChangeLog
typo3/sysext/dbal/class.ux_t3lib_db.php

index 11b729c..8e09ce0 100644 (file)
@@ -1,3 +1,7 @@
+2010-11-18  Xavier Perseguers  <typo3@perseguers.ch>
+
+       * Fixed bug #16392: Install tool cannot compare "ENGINE" of MySQL Tables when DBAL is active
+
 2010-11-17  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #16444: DBAL installs itself automatically whenever the install tool is called
index e648a34..1a4ef11 100644 (file)
@@ -2617,7 +2617,7 @@ class ux_t3lib_DB extends t3lib_DB {
                                $tables_result = mysql_query('SHOW TABLE STATUS FROM `' . TYPO3_db . '`', $this->handlerInstance['_DEFAULT']['link']);
                                if (!$this->sql_error()) {
                                        while ($theTable = $this->sql_fetch_assoc($tables_result)) {
-                                               $whichTables[current($theTable)] = current($theTable);
+                                               $whichTables[$theTable['Name']] = $theTable;
                                        }
                                }
                                break;