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

Double convert of ',' in view definition gives incorrect result

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.3(EOL), 10.4(EOL), 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL)
    • 10.11
    • None

    Description

      Expected that "select from table" and "select from view" give the same result:
      Test:

      select convert(convert(',' using filename) using binary);
      create view vv as select convert(convert(',' using filename) using binary);
      select * from vv;
      drop view vv;
      

      Actual result:

      select convert(convert(',' using filename) using binary);
      convert(convert(',' using filename) using binary)
      @002c
      create view vv as select convert(convert(',' using filename) using binary);
      select * from vv;
      convert(convert(',' using filename) using binary)
      @
      

      Expected result:

      select convert(convert(',' using filename) using binary);
      convert(convert(',' using filename) using binary)
      @002c
      create view vv as select convert(convert(',' using filename) using binary);
      select * from vv;
      convert(convert(',' using filename) using binary)
      @002c
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              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.