|
|||||||||||
|
Cannot use query timeout feature
From: Cezar Manole <Cezar.Manole(at)adaptivemobile.com>
Date: Mon Jun 25 2007 - 10:22:27 EDT
mysqlpp::Connection* connection = 0;
try
mysqlpp::Connection(use_exceptions);
connection->set_option(mysqlpp::Connection::opt_read_timeout ,(unsigned int)10); connection->connect(m_database.c_str(),m_server.c_str(),m_user.c_str(),m _password.c_str(),m_port);
}
catch(const mysqlpp::Exception& ex)
So how can we beneficiate of the mysqlpp query timeout fix ? Thanks, Cezar This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error then please delete it and notify the sender. Do not make a copy or forward it to anyone. This footnote also confirms that this email message has been swept for the presence of computer viruses. Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors Lane, Dublin 8, Ireland Directors: B Collins, L Burke (UK), G. Maclachlan (UK). J. Ennis (UK) Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430 Received on Mon Jun 25 10:38:22 2007 This archive was generated by hypermail 2.1.8 : Mon Jun 25 2007 - 10:40:04 EDT |
||||||||||
|
|||||||||||