Hi
I using Lazarus, MySQL 4.1 and ZeosLib 6.5.1 20061011. If I run the following code, every thing is OK,
Query.SQL.Clear;
Query.SQL.Add('SELECT name FROM clients LIMIT 3;');
while 1=1 do begin
Query.Open;
Query.Close;
end;
but if I add another column in the query,
Query.SQL.Clear;
Query.SQL.Add('SELECT name, LastBuy FROM clients LIMIT 3;');
while 1=1 do begin
Query.Open;
Query.Close;
end;
the system gets out of memory after a 2000 times while loop. In my opinion, the closing method is not cleaning the column information if the query has more than 1 column. Unfortunently, I could not follow the bug cos I don know Zeos internals enogth.
Thanks in advance
Jacques
Sorry for my poor english
[bug_fixed] Memory Leak - ZeosLib 6.5.1, MySQL 4.1, Lazarus
Moderators: EgonHugeist, mdaems
-
- Fresh Boarder
- Posts: 10
- Joined: 11.10.2006, 21:19