[BUGFIX] Make ProcessedFileChecksumUpdate compatible with DBAL 76/40576/4
authorMorton Jonuschat <m.jonuschat@mojocode.de>
Tue, 23 Jun 2015 20:22:55 +0000 (22:22 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Jul 2015 17:27:46 +0000 (19:27 +0200)
commitacdca0a628d736af9143bd9ce90725bd119b3651
tree219d5179a1fd4bad65831c22f723c3c3b1a989c9
parente8c9b9a900e142c4c5dd66909426688b476f7f9a
[BUGFIX] Make ProcessedFileChecksumUpdate compatible with DBAL

Use explicit CAST statements in the SQL queries performed by the
updater to allow other DBMS to compare a VARCHAR with an INT field.

The SQLparser has been extended to support CAST statements as part
of a JOIN clause.

Resolves: #67708
Related: #66614
Releases: master
Change-Id: I4a13eae92290b9ce8149aa5ef93df1305c02715a
Reviewed-on: http://review.typo3.org/40576
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/SqlParser.php
typo3/sysext/dbal/Tests/Unit/Database/SqlParserTest.php
typo3/sysext/install/Classes/Updates/ProcessedFileChecksumUpdate.php