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

sformat('Num [{:20}]', 42) gives incorrect result in view

    XMLWordPrintable

Details

    Description

      Test:

      create view v1 as select sformat('Num [{:20}]', 42);
      select * from v1;
      drop view v1;
      

      Expected result:

      Num [                  42]
      

      Actual result:

      Num [   
      

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.