[MDEV-33386] Wrong error message on `GRANT .. ON PACKAGE no_such_package ..` Created: 2024-02-05  Updated: 2024-02-05  Resolved: 2024-02-05

Status: Closed
Project: MariaDB Server
Component/s: Stored routines
Affects Version/s: 11.4
Fix Version/s: 11.4.1, 11.5.1

Type: Bug Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-32101 CREATE PACKAGE [BODY] for sql_mode=DE... Closed

 Description   

GRANT EXECUTE ON PACKAGE no_such_package TO PUBLIC;

ERROR 1305 (42000): FUNCTION or PROCEDURE no_such_package does not exist

The error message is wrong, the statement tried to grant on a nonexistent package not a nonexistent function or procedure.


Generated at Thu Feb 08 10:38:31 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.