MySQL Forums
Forum List  »  Connector/Python

Re: Is the mysql_connect.commit() always require with Insert, Update and Delete records?
Posted by: Geert Vanderkelen
Date: March 17, 2014 12:21AM

Ernest Bonat Wrote:
-------------------------------------------------------
> I’m trying to insert a new record into the
> magazine_type table following the code below:
..
> Is the mysql_connect.commit() always required with
> Insert, Update and Delete records?

When using transactional engines like InnoDB, which is default nowadays, Yes.

Geert Vanderkelen
Software Developer at Oracle

Options: ReplyQuote


Subject
Written By
Posted
Re: Is the mysql_connect.commit() always require with Insert, Update and Delete records?
March 17, 2014 12:21AM


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.