Bug #6367 new SQL commando show stored procedures / show functions

Submitted: 1 Nov 2004 16:44 Modified: 1 Apr 2005 19:12
Reporter: Michael Kofler Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S4 (Feature request)
Version:5.0 OS:Any (all)
Assigned to: CPU Architecture:Any

[1 Nov 2004 16:44] Michael Kofler
Description:
the only way to find out which stored procedures or functions are available is to query the mysql.proc table; 

however, a user with full privileges to a certain database might have no privileges to read mysql.proc; thus, it is impossible to find out which SPs/functions are available

currently, it is impossible to administrate SPs without having root privileges

How to repeat:
-

Suggested fix:
new SQL commands

SHOW STORED PROCEDURES [LIKE pattern]
SHOW FUNCTIONS [LIKE pattern]

which apply to the current database
[16 Mar 2005 15:20] Michael Kofler
can be closed

SHOW FUNCTION STATUS
SHOW PROCEDURE STATUS

provide all information needed
[1 Apr 2005 19:12] Peter Gulutzan
Closed due to last comment: "can be closed". And since the original request, we have added support for "select ... from information_schema.routines".

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.