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

It is needed surround the invalid argument with quotes in the warning message of KDF() function

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 11.3
    • 11.3.1
    • Encryption
    • None

    Description

      if you pass a string like "'\n\n\n'" as an argument of KDF() function, the warning message looks "funny":
      Testcase:

      select hex(kdf('foo', 'bar', 10, '\n\n\n'));
      

      Actual result:

      hex(kdf('foo', 'bar', 10, '\n\n\n'))
      NULL
      Warnings:
      Warning	3047	Invalid argument error: 
       
       
       in function kdf.
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.