[TYPO3-core] Core patch request
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Mon Mar 26 09:42:45 CEST 2007
Kasper Skårhøj schrieb:
> Hi Folks,
>
> A few patches to the core:
>
> - Added internal flag that will trigger MySQL EXPLAIN output from the
> t3lib_db class. This can be useful for debug scenarios where you want to
> watch which indexes are used on queries. I realize that a similar thing
> could be done with the DBAL extension or should probably be made as an
> extension that XCLASSES t3lib_db. Feel free to turn this one down. I
> just felt it was practical, but maybe its too much over head.
>
> - Added comments about word indexing to t3lib_refindex (no brainer)
> - Modified the t3lib_div::debugRows() function (no brainer as well)
I don't think we shoud use echo() for debugging anywhere in the Core. In
the last time we have added several means of logging (debug) output into
the DB and files. If for some reason this is not desirable IMHO debug()
should be used.
But the idea is a nice one.
Masi
More information about the TYPO3-team-core
mailing list