[TYPO3-core] RFC #10490: Code cleanup/Bugfix: Add some sql_free_result to the admin_get_* functions

Oliver Klee typo3-german-02 at oliverklee.de
Thu Feb 19 12:51:58 CET 2009


This is an SVN patch request.

Type: Code cleanup/Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=10490

Branches:
TYPO3_4-1, TYPO3_4-2 and trunk

Problem:
The admin_get_* functions don't free their DB query results, but they
should (because SHOW queries create results that can be freed).

Solution:
Add the missing sql_free_result to admin_get_tables, admin_get_fields,
admin_get_keys and admin_get_charsets.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: free.diff
Type: text/x-patch
Size: 854 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090219/670c7de1/attachment.bin 


More information about the TYPO3-team-core mailing list