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

CONV's radix argument out of range (>36) silently produces garbage

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • N/A
    • Server
    • None
    • Not for Release Notes

    Description

      SELECT CONV('10', 37, 10);
      -- MariaDB: 37    <-- computes with 37 as a valid radix ('10' base37 = 37)
      -- MySQL:   NULL
      SELECT CONV('10', 10, 37);
      -- MariaDB: A     <-- '10' of base 37 = 1*37+0 = 37 = 'A' of base 37
      -- MySQL:   NULL
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chunlingqin chunlingqin
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.