apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Dubov <oa...@yahoo.com>
Subject Re: [PATCH]: enable automatic reconnect for mysql >= 5.0.13
Date Wed, 24 May 2006 06:44:35 GMT
(I forgot the "return NULL" in the earlier patch, but
sent a correction right after).

mysql_init allocates memory from mysqlclient's heap.
What will happen it somebody opens many mysql
connections, of which  some constantly fail in
mysql_real_connect (because of insufficient
permissions for example). mysqlclient's heap will
slowly grow because of all these temporary MYSQL
objects never being reclaimed.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message