Prevented writing dumb DBAL configuration when using MySQL
authorXavier Perseguers <typo3@perseguers.ch>
Fri, 30 Apr 2010 14:07:02 +0000 (14:07 +0000)
committerXavier Perseguers <typo3@perseguers.ch>
Fri, 30 Apr 2010 14:07:02 +0000 (14:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/dbal/trunk@32794 735d13b6-9817-0410-8766-e36946ffe9aa

typo3/sysext/dbal/class.tx_dbal_installtool.php

index 3590bc1..8086463 100644 (file)
@@ -103,6 +103,9 @@ class tx_dbal_installtool {
                                        case 'odbc_mssql':
                                                $driverConfig = '\'useNameQuote\' => TRUE';
                                                break;
+                                       case 'mysql':
+                                       case 'mysqli':
+                                               return;
                                }
                                $config = 'array(' .
                                        '\'_DEFAULT\' => array(' .