[MDEV-8344] Table functions: make name resolution see the return_table. Created: 2015-06-19  Updated: 2015-11-26  Resolved: 2015-11-26

Status: Closed
Project: MariaDB Server
Component/s: Data Definition - Procedure
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Sergei Petrunia Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-8100 Table functions (aka SQL functions re... Stalled

 Description   

This is a part of dj's GSoC project. not anymore
When MDEV-8343 is done, we will be able to parse stored function declarations, like:

CREATE FUNCTION ... RETURNS TABLE ret_table (...)  BEGIN
  insert into ret_table values (1);
END;

but an attempt to check the stored function will fail with "Unknown table ret_table" error.

This task is about fixing the process of name resolution for statements inside stored functions to know there is a returned table ret_table.


Generated at Thu Feb 08 07:26:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.