[BUGFIX] InstallTool: connect to DBMS before retrieving current schema 46/40046/2
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Wed, 3 Jun 2015 20:59:40 +0000 (22:59 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Sat, 6 Jun 2015 13:29:33 +0000 (15:29 +0200)
commit967976650985b1b36bd086cb419e66e6bd7c04f6
treef9490c3f4573e2015f9131b47a5681eed5212182
parent02d4907e779df95b137726bda74402a687a2042b
[BUGFIX] InstallTool: connect to DBMS before retrieving current schema

SqlSchemaMigrationService needs to explicitly connect to the database
before retrieving the current schema. On native MySQL connections this
happens implicitly when using sql_select_db(), on DBAL a connectDB() is
required.

Resolves: #67286
Releases: master, 6.2
Change-Id: I2c93111f1f6919f31d71b4b46fd353d9a3629dbc
Reviewed-on: http://review.typo3.org/40046
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/Database/DatabaseConnection.php
typo3/sysext/install/Classes/Service/SqlSchemaMigrationService.php