This project is archived and is in readonly mode.
Free MySQL::Result objects after a call to execute
Reported by Manfred Stienstra | November 19th, 2008 @ 02:26 PM | in 2.x
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.
Comments and changes to this ticket
-
Eloy Duran November 19th, 2008 @ 03:18 PM
Patch applies cleanly and fixes anomalies as seen in our performance tests. +1
-
Repository December 18th, 2008 @ 07:22 PM
- State changed from new to resolved
(from [8326b95169ae6af3b81f5596107fef9db4bcbbb0]) Free MySQL::Result objects after a call to execute [#1416 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...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Referenced by
- 1416 Free MySQL::Result objects after a call to execute (from [8326b95169ae6af3b81f5596107fef9db4bcbbb0]) Free My...