anewt-developers team mailing list archive
-
anewt-developers team
-
Mailing list archive
-
Message #00275
[Bug 401484] Re: Use mysqli_result::fetch_all() if available
This seems like a bad idea after all. Closing WONTFIX.
http://nl2.php.net/manual/en/mysqli-result.fetch-all.php states:
As mysqli_fetch_all() returns all the rows as an array in a single step, it may consume more memory than some similar functions such as mysqli_fetch_array(), which only returns one row at a time from the result set. Further, if you need to iterate over the result set, you will need a looping construct that will further impact performance. For these reasons mysqli_fetch_all() should only be used in those situations where the fetched result set will be sent to another layer for processing.
** Changed in: anewt
Status: Triaged => Won't Fix
--
Use mysqli_result::fetch_all() if available
https://bugs.launchpad.net/bugs/401484
You received this bug notification because you are a member of Anewt
developers, which is subscribed to Anewt.
References