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

Support SELECT ... FROM table_func(...)" in the parser

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • N/A
    • OTHER
    • None

    Description

      This is a part of dj's GSoC project.

      Make the parser support

      SELECT ... FROM table_func(parameters)

      There is no execution yet. Attempt to run the statement should return an error.

      The following is expected to work:

      • The parser should allow this statement
      • setup_tables() in SELECT code should check if parameters are base constants.
        • If they are not, emit an error.
        • If they are constants (i.e. everything would be ok), emit an error anyway. This way, we can have a minimal test suite.
      • name resolution in other parts e.g. UPDATE/DELETE can be ignored for now.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.