mirror of https://github.com/Icinga/icinga2.git
parent
2932651b64
commit
0da226163f
|
@ -248,7 +248,7 @@ void IdoMysqlConnection::Reconnect(void)
|
|||
/* connection */
|
||||
if (!mysql_init(&m_Connection)) {
|
||||
Log(LogCritical, "IdoMysqlConnection")
|
||||
<< "mysql_init() failed: \"" << mysql_error(&m_Connection) << "\"";
|
||||
<< "mysql_init() failed: out of memory";
|
||||
|
||||
BOOST_THROW_EXCEPTION(std::bad_alloc());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue