Bug #74116 | Connector fails to use mysql.proc to enumerate stored procedures | ||
---|---|---|---|
Submitted: | 27 Sep 2014 11:53 | Modified: | 29 Jun 2016 20:24 |
Reporter: | Trevor Jobling (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / NET | Severity: | S3 (Non-critical) |
Version: | 6.9.4 | OS: | Windows |
Assigned to: | Gabriela Martinez Sanchez | CPU Architecture: | Any |
Tags: | performance, stored procedure |
[27 Sep 2014 11:53]
Trevor Jobling
[14 Oct 2014 13:59]
Trevor Jobling
Mercurial patch file, but it's a trivial single line change (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: MySQL Connector.Net bug 74116.patch (application/octet-stream, text), 793 bytes.
[27 Apr 2015 4:41]
MySQL Verification Team
Hello Trevor Jobling, Thank you for the report and contribution. Thanks, Umesh
[15 May 2015 5:43]
Tushar Agarwal
I am using 6.9.6. In my connection string I have added Use Procedure Bodies=true;ProcedureCacheSize=2500 , given all permissions on mysql.proc to my user but it doesn't work. I_S is being queried. Is there something that I am missing ?
[15 May 2015 7:55]
Trevor Jobling
Hi Tushar, FWIW adding ProcedureCacheSize=2000 didn't help me. Have you tried implementing the patch I suggested in my comment from September?
[16 May 2016 7:47]
Chiranjeevi Battula
http://bugs.mysql.com/bug.php?id=81427 marked as duplicate of this one.
[29 Jun 2016 20:21]
Philip Olson
Posted by developer: Fixed as of the upcoming Connector/Net 6.8.8 release, and here's the changelog entry: The connector did not attempt to enumerate stored procedures via mysql.proc(). Instead it looked up stored procedures in INFORMATION_SCHEMA.ROUTINES. This could have led to performance degradation in certain scenarios. Thank you for the bug report.