Page 1 of 1

LocalfailOver don't work under a transaction..

Posted: Thu 04 Feb 2010 01:11
by eduardosic
Hi, i'm have problem when LocalFailOver is active and the connection is Lost.
MyDAC don't reconnect and Retry.. the Lost Connection exception is Raised.

Please, add this feature for LocalFailOver Restart the transaction and reexecute the sql statment.

to reproduce the problem: http://www.drdsistemas.com.br/util/mydac/

Posted: Thu 04 Feb 2010 08:17
by Dimon
LocalFailOver under transaction doesn't work because MySQL doesn't support committing/rolling back transaction after connection was lost. If after starting transaction connection was lost, all changes will be rolled back by MySQL server.

Posted: Thu 04 Feb 2010 10:45
by eduardosic
Dimon wrote:LocalFailOver under transaction doesn't work because MySQL doesn't support committing/rolling back transaction after connection was lost. If after starting transaction connection was lost, all changes will be rolled back by MySQL server.
you can, Reconnect, Start the transaction and reexecute SQL ?

Posted: Thu 04 Feb 2010 12:23
by Dimon
We don't plan to support such functionality, because from starting transaction many queries with large amount data and parameters can be executed. Also there are many questions with preparation/unpreparation queries.

Posted: Thu 04 Feb 2010 14:24
by eduardosic
Dimon wrote:We don't plan to support such functionality, because from starting transaction many queries with large amount data and parameters can be executed. Also there are many questions with preparation/unpreparation queries.
ok, thank's Dimon

Posted: Fri 05 Feb 2010 18:51
by eduardosic
eduardosic wrote:
Dimon wrote:We don't plan to support such functionality, because from starting transaction many queries with large amount data and parameters can be executed. Also there are many questions with preparation/unpreparation queries.
ok, thank's Dimon
this a great feature for MyDAC 6.00.

Posted: Mon 08 Feb 2010 07:52
by Dimon
Thank you for your advice. We will investigate the possibility of adding this functionality in the future.