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

LEFT and RIGHT with big value for parameter 'len' >0 return empty value in cursor protocol

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.5, 10.6, 10.11, 11.1(EOL), 11.2, 11.4, 11.5(EOL)
    • N/A
    • OTHER
    • None

    Description

      run MTR test with --cursor-protocol

      Test:

      create view v1 as select left('hello', 4294967295);
      select * from v1;
      drop view v1;
      

      Expected value:

      left('hello', 4294967295)
      hello
      

      Actual value:

      left('hello', 4294967295)
      
      

      Attachments

        Issue Links

          Activity

            People

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