[TYPO3-core] RFC: non-generated sql queries may not be debugged
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Mar 13 23:03:07 CET 2007
Martin Kutschker wrote: on 13.03.2007 22:05:
> Branch: trunk / TYPO3_41
>
> Problem: t3lib_db::debug() always reports
> t3lib_db::debug_lastBuiltQuery, which is wrong for those functions that
> get their queries directly from the caller.
>
> Solution: add $query argument to debug() and use it in these functions.
Yes, +1, by reading the patch.
This is one very annoying and sometimes even disturbing bug in the
debugging output of failed queries!
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list