Improve IDO query performance.

Refs #5235
This commit is contained in:
Gunnar Beutner 2013-11-28 12:12:10 +01:00
parent 5daedd2dea
commit 85fec966b8
1 changed files with 1 additions and 1 deletions

View File

@ -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)