[BUGFIX] mssql: Identifier quoting and return types 18/53118/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:47:42 +0000 (11:47 +0200)
commit790f148e3ebf9ce6d23baffc310b8896d667bdaf
tree1ff2f75fda2620a2863c673b5316ac117b816a3a
parent3e59b1400aa28941db199796dc1e84e7f09eda4a
[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/53118
Tested-by: TYPO3com <no-reply@typo3.com>
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