If MySQL is in autocommit mode, then if you call:
StartTransaction
Update/insert/delete
Commit
My understanding is that calling Commit will automatically put the driver back into autocommit mode, but it doesn't (or I should say that the Autocommit properties are set correctly, but the underlying call to mysql_autocommit(FHandle, 1) is never made.) The Commit method has:
Code: Select all
AutoCommit := True;
-Mark