1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Merge commit '8823607e299d6028df87d3c389a44ca004311de5' into 3.1

This commit is contained in:
Georg Richter
2019-06-30 17:34:04 +02:00

View File

@@ -1756,8 +1756,10 @@ int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt)
if (stmt->mysql->methods->db_command(stmt->mysql, COM_STMT_FETCH,
buff, sizeof(buff), 1, stmt))
{
UPDATE_STMT_ERROR(stmt);
return(1);
/* todo: cursor */
}
}
else if (stmt->mysql->status != MYSQL_STATUS_STMT_RESULT)
{