Page 1 of 1

TMyConnection, OnError and Pooling

Posted: Sun 14 Jun 2009 03:10
by eduardosic
Hi Devart. i found a strange behavior.

in TMyConnnection i set the event OnError:

Code: Select all

   if E.ErrorCode = 2003 then begin
    Fail := False;
    ShowMessage( 'The Application can not connect to mySQL Server, press "OK" and try later..' );
   end else
    Fail := True;
if i use MyConnection.Pooling = False and try to connect to a Down Server the Event OnError is handled.. but if a active Pooling the Envent ins't handled and a exception is raised..

i made a small project for this..

http://www.drdsistemas.com.br/util/Error.7z

thank's

Posted: Mon 15 Jun 2009 12:50
by Dimon
Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.

Posted: Mon 15 Jun 2009 12:52
by eduardosic
Dimon wrote:Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.
Thank's Dimon.

Posted: Mon 15 Jun 2009 17:46
by eduardosic
eduardosic wrote:
Dimon wrote:Thank you for information. We have reproduced this problem and fixed it. This fix will be included in the next MyDAC build.
Thank's Dimon.
Dimon, when new build will be released?

Posted: Tue 16 Jun 2009 12:28
by Dimon
The next MyDAC build will be released at the beginning of the next week.

Posted: Thu 25 Jun 2009 11:49
by eduardosic
Dimon wrote:The next MyDAC build will be released at the beginning of the next week.
Dimon, the new build will be released at the end of this week?

Posted: Fri 26 Jun 2009 07:39
by Dimon
New build of MyDAC version 5.80.0.48 is available for download now.

Posted: Fri 26 Jun 2009 13:07
by eduardosic
Dimon wrote:New build of MyDAC version 5.80.0.48 is available for download now.
Thank's Dimon.