working with transactions

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jkuiper
Posts: 138
Joined: Fri 04 Aug 2006 14:17

working with transactions

Post by jkuiper » Fri 04 Sep 2009 07:14

Maybe a silly queston, but when do you start an transaction?
Before opening the table or only by editing /inserting.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 04 Sep 2009 09:48

If you don't use transactions obviously by calling the StartTransaction method, then we don't start a transaction obviously either. In this case MySQL server uses an implicit transaction and data are commited automatically.

Post Reply