[BUGFIX] Always quote SQL identifiers in schema migrations 73/53373/3
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Sat, 1 Jul 2017 17:59:38 +0000 (10:59 -0700)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 4 Jul 2017 21:44:02 +0000 (23:44 +0200)
commit1dd2254c112b3191cb3a86b964ec221e67637f52
tree49bf57de0b58ffdb400b59167d5bd0528d15ab54
parent90d9a9ef662e090d2bca1713c1e47f348b98f277
[BUGFIX] Always quote SQL identifiers in schema migrations

Doctrine doesn't always return quoted identifiers when reading the
schema information from the database. This patch works around that
by properly quoting the identifiers when determining the required
changes to the database.

Resolves: #81610
Releases: master, 8.7
Change-Id: I746a8a023cf494050cd83c089e0d2bca98c046f1
Reviewed-on: https://review.typo3.org/53373
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php
typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php