MySQL Forums
Forum List  »  Events (Job Scheduler)

Re: Transactions, autocommit and events
Posted by: Kevin Vargo
Date: March 03, 2009 06:57AM

Defaulting autocommit to off has never seemed to work. I have my configuration set to:
# Disable auto-commit of transactions
init_connect='SET AUTOCOMMIT=0'

but autocommit is not disabled. Furthermore, you cannot even check the status of autocommit (v5):
mysql> show session variables like '%autocommit%';
Empty set (0.00 sec)

Although they may have fixed this in 6.x, per

Either way, a database that can't turn off autocommit by default is missing a critical feature.

Options: ReplyQuote

Written By
January 19, 2009 04:38PM
January 26, 2009 07:32PM
Re: Transactions, autocommit and events
March 03, 2009 06:57AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.