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

Refactor create_tmp_table code to remove duplications.

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 11.6
    • Optimizer
    • None

    Description

      Various parts of the optimizer create temporary tables for different necessarities. As a result we have similar code in 3 places.
      That is create_tmp_table() (and the Create_tmp_table class) in sql_select.cc,
      SJ_TMP_TABLE in opt_subselect.cc,
      and the Create_json_table class in table_function.cc

      It'd be good to unify these three and create the universal Create_tmp_table class to remove code duplications.

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            holyfoot Alexey Botchkov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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