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