From: Warren Young Date: November 16 2005 5:46pm Subject: Re: libmysql.dll crashes when losing internet connection List-Archive: http://lists.mysql.com/plusplus/5157 Message-Id: <437B707C.3040401@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Adam Zerlin wrote: > > if(mysql_ping(connection) != 0) > return false; > > if(mysql_query(connection,query) != 0) { // query failed This list is for MySQL++, the C++ wrapper for the MySQL C API. Please send this to the main MySQL mailing list.