[MDEV-28248] Wrong note "function .. has the same name..." on a general keyword Created: 2022-04-06  Updated: 2023-11-28

Status: Open
Project: MariaDB Server
Component/s: Parser
Affects Version/s: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
Fix Version/s: 10.11

Type: Bug Priority: Minor
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-27744 LPAD in vcol created in ORACLE mode m... Closed

 Description   

However, the warning happens not only on conflicting function names, but on absolutely all keywords:

CREATE OR REPLACE FUNCTION `create`() RETURNS INT RETURN 1;
SHOW WARNINGS;

+-------+------+---------------------------------------------------------------+
| Level | Code | Message                                                       |
+-------+------+---------------------------------------------------------------+
| Note  | 1585 | This function 'create' has the same name as a native function |
+-------+------+---------------------------------------------------------------+

The above warning looks wrong.


Generated at Thu Feb 08 09:59:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.