mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
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…
x
Reference in New Issue
Block a user