Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

MySql C++ connector - conn->commit() doesn't throw exception (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>