MySQL Forums
Forum List  »  General

Re: autcommit vs. manual commit behavior
Posted by: Aaron Couts
Date: May 19, 2006 03:36PM

You are exactly right:

Scenario 3:
Session 1: Autocommit == 0. I make a change to a record and commit manually.
Session 2: Autocommit == 0. I can't see the change in the record unless I quit and log back into mysql.

Scenario 4:
Session 1: Autocommit == 0. I make a change to a record and commit manually.
Session 2: Autocommit == 1. I can see the change immediately.

Scenario 5:
Session 1: Autocommit == 0. I make a change to a record and commit manually.
Session 2: Autocommit == 0. I type commit; and can see the change.

Thanks very much for the detailed explanation.

-Aaron

Options: ReplyQuote


Subject
Written By
Posted
Re: autcommit vs. manual commit behavior
May 19, 2006 03:36PM


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.