[BUGFIX] Cannot connect to the current database 32/20732/3
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:50:03 +0000 (20:50 +0200)
commitb2c3fd000de98a6ee046b250312176fd91c8a81f
tree4cf23d9212fe1400d4eb7d2ff5d6afeffca25169
parent25a1833be606e03df16b8c8a0f08ca188ccb291a
[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/20732
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Database/DatabaseConnection.php