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

CTE table is created with wrong column name if column name > 64 symbols

    XMLWordPrintable

Details

    Description

      If column name less or equal 64 symbols is everything Ok:

      with cte as (
      select 1111
      ) select * from cte;
      1111
      1111
      

      But if column name more than 64 symbols the column name changes to "Name_exp_1":

      with cte as (
      select 11111111111111111111111111111111111111111111111111111111111111111
      ) select * from cte;
      Name_exp_1
      11111111111111111111111111111111111111111111111111111111111111111
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.