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

ROUND(X,D) returns incorrect result with cursor-protocol when D>9

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4, 10.5, 10.6, 10.9, 10.10, 11.0, 11.1, 11.2
    • 10.4, 10.5, 10.6, 11.0, 11.1, 11.2
    • None
    • None

    Description

      Test (run MTR test with --cursor-protocol):

      select round(9999999999, -10);
      

      Expected result:

      round(9999999999, -10)
      10000000000
      

      Actual result:

      round(9999999999, -10)
      9999999999
      

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.