MySQL Forums
Forum List  »  Connector/C++

MySql C++ connector - conn->commit() doesn't throw exception
Posted by: Akshay Khatavkar
Date: April 29, 2016 01:28AM

Hi,
sql::Connection *conn
I observed that conn->commit() doesn't throw exception if client loses connection to mysql server just before executing this commit statement.

As no exception is thrown client gets a wrong impression that the transaction was committed whereas actually it was not!

Is this a MYSQL C++ connector bug ?

Regards,
Akshay

Options: ReplyQuote


Subject
Views
Written By
Posted
MySql C++ connector - conn->commit() doesn't throw exception
1876
April 29, 2016 01:28AM


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.