Bug #105997 Poor performance when adding parameters with "Add(Object)"
Submitted: 29 Dec 2021 4:07 Modified: 23 Aug 2022 14:20
Reporter: Zheyuan Lin Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / NET Severity:S5 (Performance)
Version:8.0.27 OS:Any
Assigned to: CPU Architecture:Any

[29 Dec 2021 4:07] Zheyuan Lin
Description:
Hello,
I reported this bug https://bugs.mysql.com/bug.php?id=105965. but you team may misunderstand the method cause by "Add(String, Object)", and change the status to 'Won't fix'.
PLEASE NOTE the VERSION IS "8.0.27", And the method is  "MySql.Data.MySqlClient.MySqlParameterCollection.Add(object) ". It's NOT obsolete.

How to repeat:
SEE https://bugs.mysql.com/bug.php?id=105965
[29 Dec 2021 5:02] MySQL Verification Team
Hello Zheyuan Lin,

Thank you for the bug report and feedback.

regards,
Umesh
[23 Aug 2022 14:20] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Connector/NET 8.0.31 release, and here's the proposed changelog entry from the documentation team:

The overall performance of the
MySql.Data.MySqlClient.MySqlParameterCollection.Add(object value) method
was improved by changing the return statement.

Thank you for the bug report.