Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-3472

ROUND() returns incorrect result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4
    • Fix Version/s: Icebox
    • Component/s: None
    • Labels:
      None

      Description

      Build tested: 1.4.0-1

      [dlee@master centos7]$ cat gitversionInfo.txt
      server commit:
      67452bc
      engine commit:
      4d2a159

      Autopilot test case features.functions

      select cidx, CDECIMAL1, ROUND(CDECIMAL1,-1) from datatypetestm order by cidx
      --------------

      cidx CDECIMAL1 ROUND(CDECIMAL1,-1)
      1 -9 -9
      1 row in set

      Reference returns -10. This tests also works correctly in 1.2.4-1

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dleeyh Daniel Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: