[TYPO3-core] RFC: Bug #7015: t3lib_DB displays wrong SQL in error case

Steffen Ritter info at rs-websystems.de
Fri Apr 30 18:26:36 CEST 2010


Am 30.04.2010 18:20, schrieb Lars Houmark:
> Hi Steffen,
>
> Steffen Ritter wrote:
>> Problem:
>> If there is a SQL error due to an UPDATE query with empty field array,
>> then an error message is displayed. However the last displayed SQL query
>> is not the one which has caused the error. Therefore it is hard to find
>> out what has went wrong.
>
> I'd be happy to test, but do you have a simple test-case?
>
turn sql debugging on, execute an update query with $fields param = array().

Do so before and after the patch and compare the output in "lastBuildQuery"

regards

Steffen


More information about the TYPO3-team-core mailing list