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