You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Calling a sproc with an identifier that needs qualifying fails #1206
Describe the bug
When calling a stored procedure via Cursor.callproc, if the identifier for that sproc requires qualification (e.g. backticks), the call fails, often returning an "access denied" error because the user doesn't have EXECUTE access to the non-existent sproc.
Additionally, when calling callproc with args, the call fails worse because of the server variable identifier composition.
To Reproduce
Complete steps to reproduce the behavior:
Activity
callproc: escape procname
callproc: escape procname
callproc: escape procname
callproc: escape procname (PyMySQL#1225)