[BUGFIX] mssql: Identifier quoting and return types 15/53115/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 4 Jun 2017 12:46:49 +0000 (14:46 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 5 Jun 2017 09:33:31 +0000 (11:33 +0200)
commit2297bf1776933a42c1c71944aa6b3f061206b098
treebca23954dd56b5fa8fd9706bfee5989406e469ed
parentaf39d480a3d504fc3f704f0ea23d2d1bcb759111
[BUGFIX] mssql: Identifier quoting and return types

Microsoft sql server field & columns quotes quotes identifiers as
[anIdentifier] in comparison to mysql and postgres which quote
with a character that is identical left and right.
The patch adapts some quoting methods to cope with that and
adapts a return type hint where the mssql doctrine driver returns
more precise value types than other platform drivers.

Change-Id: I8db6109d5a92ff43f3503f245c5d131b96201096
Resolves: #79297
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53115
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/Database/Query/Expression/ExpressionBuilder.php
typo3/sysext/core/Classes/Database/Query/QueryBuilder.php
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php
typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php