Bug #51882 | Stored Procedures shut MS Visual Studio using strongly typed DataSets | ||
---|---|---|---|
Submitted: | 9 Mar 2010 18:23 | Modified: | 10 Mar 2010 14:02 |
Reporter: | Roberto Silva | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / NET | Severity: | S1 (Critical) |
Version: | 6.2.2 | OS: | Windows (XP and Visual Studio 2008) |
Assigned to: | CPU Architecture: | Any | |
Tags: | C#, connector, dataset, stored procedures, Visual Studio |
[9 Mar 2010 18:23]
Roberto Silva
[9 Mar 2010 18:31]
Roberto Silva
Ok, I realized I was trying to add the stored procedure to a VIEW in the dataset instead of adding it to a TABLE in the dataset. The bug remains the same tho
[10 Mar 2010 8:52]
Tonci Grgin
Hi Roberto. This is a duplicate of Bug#50671 (and many more if I may say so).
[10 Mar 2010 13:50]
Roberto Silva
oh.. and i thoght i was bringing news to the world!! hehe
[10 Mar 2010 13:53]
Tonci Grgin
:-)
[10 Mar 2010 14:02]
Roberto Silva
I have also realized this only happens when i connect to the database with users that don't have permissions to alter/create/delete routines. When I connect with the user that created those stored procedures it works just fine. Except for dragging the stored procedures to the dataset designer
[11 Mar 2010 18:25]
Reggie Burnett
This is not something we can fix when using mysql 5.1 and earlier. The reason is that if a user only has execute perms on it then there is no way we can see the parameters for the routine. We can execute the procedure only by "trusting" the number and order of parameters given by the user. Future versions of MySQL will have a information_schema parameters view and this scenario should work with that.