refactor(Core/MySQL): MySQL PreparedStatement Affected Row Count (#12002)

This commit is contained in:
Kempec Halk
2023-01-28 11:05:55 +01:00
committed by GitHub
parent a5010a3411
commit f780ae84b8

View File

@@ -304,7 +304,7 @@ bool MySQLConnection::_Query(PreparedStatementBase* stmt, MySQLPreparedStatement
m_mStmt->ClearParameters();
*pResult = reinterpret_cast<MySQLResult*>(mysql_stmt_result_metadata(msql_STMT));
*pRowCount = mysql_stmt_num_rows(msql_STMT);
*pRowCount = mysql_stmt_affected_rows(msql_STMT);
*pFieldCount = mysql_stmt_field_count(msql_STMT);
return true;