MySQL Forums
Forum List  »  Connector/Python

Re: Cannot commit a read statement
Posted by: Xiang Zhang
Date: July 27, 2022 07:23AM

Not wrong. But it's unnecessary, not forbidden. You can see there are users confused about it https://stackoverflow.com/questions/14430424/commit-after-select so it's no surprise some people try to do that. And what's more, two other popular python mysql drivers: PyMySQL and mysqlclient allow to do that. So there might be some framework doing so.

Options: ReplyQuote


Subject
Written By
Posted
Re: Cannot commit a read statement
July 27, 2022 07:23AM


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.