MySQL Forums
Forum List  »  Connector/C++

Re: Microsoft C++ Exception std::out_of_range mysql-connector-c++-8.0.18-winx64
Posted by: Rand Olmsted
Date: November 27, 2019 08:27AM

I have never been a fan of using exceptions to control normal program flow. This all started because I had a legitimate out_of_range that was horrible to find because there are hundreds of "legitimate" out of range errors. Perhaps the connector code could be refactored to use a custom exception?

I will see what can be done to suppress this out_of_range while allowing "legitimate" out_of_range exceptions to show. If I find something that works I will post it back here.

Rafal -- Thank you.

Options: ReplyQuote




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.