Fixed bug #17221: Install tool is unable to delete database tables
authorXavier Perseguers <typo3@perseguers.ch>
Tue, 25 Jan 2011 20:00:14 +0000 (20:00 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Tue, 25 Jan 2011 20:00:14 +0000 (20:00 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@42595 735d13b6-9817-0410-8766-e36946ffe9aa

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

index 5fd802f..32ffac3 100644 (file)
@@ -1,3 +1,7 @@
+2011-01-25  Xavier Perseguers  <typo3@perseguers.ch>
+
+       * Fixed bug #17221: Install tool is unable to delete database tables
+
 2011-01-24  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Set version to 1.2.0
index 2493063..8fd242d 100644 (file)
@@ -2931,10 +2931,10 @@ class ux_t3lib_DB extends t3lib_DB {
                                        // Compiling query:
                                        $compiledQuery = $this->SQLparser->compileSQL($this->lastParsedAndMappedQueryArray);
 
-                                       if ($this->lastParsedAndMappedQueryArray['type'] == 'INSERT') {
-                                               return mysql_query($compiledQuery, $this->link);
-                                       }
-                                       return mysql_query($compiledQuery[0], $this->link);
+                                       //if ($this->lastParsedAndMappedQueryArray['type'] == 'INSERT') {
+                                       //      return mysql_query($compiledQuery, $this->link);
+                                       //}
+                                       return mysql_query($compiledQuery, $this->link);
                                        break;
                                case 'adodb':
                                        // Compiling query: