mirror of https://github.com/Icinga/icinga2.git
parent
5daedd2dea
commit
85fec966b8
|
@ -280,7 +280,7 @@ Array::Ptr IdoMysqlConnection::Query(const String& query)
|
|||
<< errinfo_database_query(query)
|
||||
);
|
||||
|
||||
MYSQL_RES *result = mysql_store_result(&m_Connection);
|
||||
MYSQL_RES *result = mysql_use_result(&m_Connection);
|
||||
|
||||
if (!result) {
|
||||
if (mysql_field_count(&m_Connection) > 0)
|
||||
|
|
Loading…
Reference in New Issue