Hi, i'm using DirectMySQLObjects 1.2.1 to connect to MySQL 5.0.13-rc on WinXP sp2. I think I found a memory leak:
1.create mysql connection instance and connect to server MC := TMySQLClient.Create; MC.Connect('localhost', 'root');
2. stop mysql server (net stop mysql) 3. start mysql server (net start mysql)
4. excute some query MC.Query(Query, True, AllOK);
5. free mysql-connection instance MC.Free;
MemCheck.pas (ver.2.67) has reported a memory leak in TMysqlNet.net_open (line 601 in uMysqlNet.pas)
Has someone else noticed it?
It seems no one has ever noticed it - it is indeed a very particular case so i guess this particular sequence doesnt happend very often.
Thank you very much for reporting this problem - i will make sure it is going ot make it in the next release.
Kind regards, Cristian Nicola
thanks. i hope to see this release soon.
Atanas Todorov
Log in to post a comment.
Hi,
i'm using DirectMySQLObjects 1.2.1 to connect to MySQL 5.0.13-rc on WinXP sp2. I think I found a memory leak:
1.create mysql connection instance and connect to server
MC := TMySQLClient.Create;
MC.Connect('localhost', 'root');
2. stop mysql server (net stop mysql)
3. start mysql server (net start mysql)
4. excute some query
MC.Query(Query, True, AllOK);
5. free mysql-connection instance
MC.Free;
MemCheck.pas (ver.2.67) has reported a memory leak in TMysqlNet.net_open (line 601 in uMysqlNet.pas)
Has someone else noticed it?
It seems no one has ever noticed it - it is indeed a very particular case so i guess this particular sequence doesnt happend very often.
Thank you very much for reporting this problem - i will make sure it is going ot make it in the next release.
Kind regards,
Cristian Nicola
thanks. i hope to see this release soon.
Atanas Todorov