zendframework/zf2 — pull request #1080 by erasertwo (2012-04-22 18:12:08+00:00)
Title: Fixed Mysqli/Result (count not working, result not retrievable)

In case a mysqli_stmt class is the resource for the result, no mysqli_stmt::store_result() was called. This will prevent some functions (count, rewind, etc.) to work correctly. Furthermore the result is not transferred from the prepared statement (performance loss) and multiple loop over the result set is also not possible.

This commit should fix the above bug.