[TYPO3-core] RFC: Feature #6988: Return errors from performUpdateQueries
oh at inpublica.de
Mon Dec 17 09:41:21 CET 2007
Thomas Hempel schrieb:
> This is an SVN patch request
> Type: Feature
> Bugtracker reference:
> Trunk only
> The performUpdateQueries in t3lib_install does not return anything as
> feedback if all queries could be executed sucessfully or not.
> The attached patch adds this functionality to the method. The normal
> behavior was not changed. (Because it simply returned nothing)
> 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
More information about the TYPO3-team-core