[TASK] Remove strlen calls in the DatabaseConnection 77/27077/4
authorTim Lochmueller <tim@fruit-lab.de>
Mon, 27 Jan 2014 19:04:30 +0000 (20:04 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 27 Jan 2014 20:45:10 +0000 (21:45 +0100)
commit8c29d5ddd57790926bb85252c35a896a2d9507f1
treee5d263adb434506c7b6e5204838c0db9c9feb464
parenta884938102c22381bb09d936b64161190ad707b0
[TASK] Remove strlen calls in the DatabaseConnection

Remove the strlen calls in the DatabaseConnection to avoid many
string length calculations for the small checks in the query
build process. Replace it with a string cast and not identical
operator.

Resolves: #55370
Releases: 6.2
Change-Id: I0c175671ed51ab3034ffae7c0b812a90218e9f58
Reviewed-on: https://review.typo3.org/27077
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
typo3/sysext/core/Classes/Database/DatabaseConnection.php