[TYPO3-core] RFC: Feature #6988: Return errors from performUpdateQueries
Oliver Hader
oh at inpublica.de
Mon Dec 17 09:41:21 CET 2007
Hi Thomas,
Thomas Hempel schrieb:
> This is an SVN patch request
>
> Type: Feature
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=6988
>
> Branches:
> Trunk only
>
> Problem:
> The performUpdateQueries in t3lib_install does not return anything as
> feedback if all queries could be executed sucessfully or not.
>
> Solution:
> The attached patch adds this functionality to the method. The normal
> behavior was not changed. (Because it simply returned nothing)
>
> Comments:
> Thanks to Francois Suter who provided a first version patch.
>
> It would be very nice to have this in core soon because I need that for
> installer improvements.
Please update the PHPDoc information of that method (e.g. @return mixed
...) and add a "$GLOBALS['TYPO3_DB']->sql_free_result($res)" if the
'admin_query' returns a non-false value.
If this was changed: +1 on reading
olly
--
Oliver Hader
http://inpublica.de/
More information about the TYPO3-team-core
mailing list