[BUGFIX] SQL parser does not support string as join condition 44/40144/2
authorXavier Perseguers <xavier@typo3.org>
Wed, 10 Jun 2015 09:04:47 +0000 (11:04 +0200)
committerXavier Perseguers <xavier@typo3.org>
Wed, 10 Jun 2015 09:19:56 +0000 (11:19 +0200)
commit9067813e321bf862b2da7574d9c44aa88df64356
tree364fdc61fa92d3b7dc4d64ae5d08f56602b85796
parent52cc7013cf76972c23678044f1add208d5e75c93
[BUGFIX] SQL parser does not support string as join condition

The SQL parser is capable of parsing

    JOIN T1 ON T1.some_field = T2.some_other_field

and

    JOIN T1 ON T1.some_field = 4

but not

    JOIN T1 ON T1.some_field = 'some string'

Change-Id: I7806699ea44685ab717cc0e8a75f7b53a1b2b1cc
Resolves: #67385
Related: #66614
Releases: master, 6.2
Reviewed-on: http://review.typo3.org/40144
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Alexander Opitz <opitz.alexander@googlemail.com>
Reviewed-by: Xavier Perseguers <xavier@typo3.org>
Tested-by: Xavier Perseguers <xavier@typo3.org>
typo3/sysext/core/Classes/Database/SqlParser.php
typo3/sysext/dbal/Tests/Unit/Database/SqlParserTest.php