Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8344

Table functions: make name resolution see the return_table.

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This is a part of diwas joshi's GSoC project.
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              There are no comments yet on this issue.

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  psergey Sergei Petrunia
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated: