neoform Posted October 25, 2007 Share Posted October 25, 2007 if autocommit is on by default and I want to use transactions sometimes, do i need to turn off autocommit before starting a transaction (then turn it back on after the commit/rollback), or does it assume it needs to see a commit/rollback before resuming autocommit mode? eg. is this required? set autocommit=0; start transaction; #stuff commit; set autocommit=1; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.