MySQL Forums
Forum List  »  Connector/C++

Re: How to prevent program from crashing if mysql host is not reachable
Posted by: Andrii Nikitin
Date: October 22, 2012 07:03AM

Not sure, try to use debugger to make sure whic hexact line crashes and what exact exception called.

maybe add catch(...) block in case if some unknown exception happens (it must always present anyway)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to prevent program from crashing if mysql host is not reachable
1274
October 22, 2012 07:03AM


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.