MySQL Forums
Forum List  »  Newbie

Re: Inserting data to two tables
Posted by: Eran Yasso
Date: December 13, 2017 01:05PM

I read the documentation. The START TRANSACTION ends only after COMMIT or ROLLBACK are sent.
If I am not mistaken, in case the connection between MySQL client and MySQL server closed is I will still need to call COMMIT\ROLLBACK, or when connection is closed the START TRANSACTION ends?

I am afraid that in some case, the connection between the client to the server will be closed before COMMIT or ROLLBACK are sent and MySQL server will be in TRANSACTION state.

Thanks,

Options: ReplyQuote


Subject
Written By
Posted
December 08, 2017 10:18AM
Re: Inserting data to two tables
December 13, 2017 01:05PM
December 09, 2017 02:36PM
December 11, 2017 01:15AM
December 13, 2017 12:31AM


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.