Page 1 of 1

Slow closing of the connection

Posted: Fri 26 Oct 2007 16:28
by ddeberla
Hi,

I'm using delphi 2007 trial, update 3, and dbxmda 4.0 trial with mysql 5.1.
All works fine but when I close connection , I takes some 5 seconds to continue. Debugging reveals that the time is spend on freeing the driver object

in DBXCOMMON on statement 'driver.free' :

procedure TDBXDriverRegistry.FreeDriver(Driver: TDBXDriver);
var
Index: Integer;
List: TList;
begin
List := FDrivers.LockList;
try
...
Driver.Close;
Driver.Free;
...
end;
finally
FDrivers.UnlockList;
end;
end;


Any suggestion what might cause this issue ? Or is it intentional in he trial version ?

Posted: Mon 29 Oct 2007 10:37
by Antaeus
Try to download and install the last version of DbxMda (4.20.3). If this problem is still persists in your application, try to reproduce it with a demo of DbxMda and provide us with exact steps to reproduce it.