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

quote(NULL) returns incorrect result with cursor protocol

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.4(EOL), 10.5, 10.6, 10.9(EOL), 10.10(EOL), 11.0(EOL), 11.1(EOL), 11.2(EOL)
    • N/A
    • OTHER
    • None

    Description

      quote(NULL) returns incorrect result with cursor protocol - it cuts last two characters.
      Test (run MTR test with --cursor-protocol):

      select quote(NULL);
      

      Expected value:

      quote(NULL)
      NULL
      

      Actual value:

      quote(NULL)
      NU
      

      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.