Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Free MySQL::Result objects after a call to execute

#1416

In the MySQL connection adapter not all MySQL::Result objects were freed after a call to execute. This can lead to erratic performance in the MySQL driver.

The attached patch fixes this problem.

Reported by Manfred Stienstra · November 19th, 2008 @ 02:26 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Eloy Duran
    Eloy Duran

    Patch applies cleanly and fixes anomalies as seen in our performance tests. +1

    November 19th, 2008 @ 03:18 PM

  2. Repository
    Repository
    • State changed from new to resolved

    (from [8326b95169ae6af3b81f5596107fef9db4bcbbb0]) Free MySQL::Result objects after a call to execute [#1416 Free MySQL::Result objects after a call to execute state:resolved]

    No freeing Result objects causes the MySQL driver to free result sets at undefined times, this can lead to erratic performance in your application.

    Signed-off-by: Frederick Cheung frederick.cheung@gmail.com http://github.com/rails/rails/co...

    December 18th, 2008 @ 07:22 PM