[BUGFIX] Cannot connect to the current database 48/20848/2
authorOliver Hader <oliver@typo3.org>
Mon, 13 May 2013 12:49:15 +0000 (14:49 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 16 May 2013 18:52:53 +0000 (20:52 +0200)
commit7172541509ab25f7792948c43e21e40795e058aa
treeccc58db624f10b3b9d247bbc2dda695ef37d5d8f
parentc7b99a8c9cdd2bc266aace97ea44bc275cdf7406
[BUGFIX] Cannot connect to the current database

DatabaseConnection::admin_get_dbs() iterates over all existing
databases during install process and tries to use each of them.
If that fails, an exception is thrown - which is not caught in
the mentioned method.

Change-Id: I5fdf08b867ead6535ce737fdceb86a977b539462
Fixes: #48138
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20848
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Database/DatabaseConnection.php