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

abs(-2147483648) = -2147483648 in Centos7 /RHEL7 (only)

    XMLWordPrintable

Details

    • Bug
    • Status: In Testing (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6, 10.11, 11.4, 11.8
    • 10.6, 11.4, 11.8
    • Tests, MTR
    • None

    Description

      Thanks to the tests added in MDEV-37911, the abs main.mysqltest_string_functions have shown an abs failure and has been failing on Centos7 (EOL), and RHEL7 (EOM) only.

      main.mysqltest_string_functions          w11 [ fail ]
              Test ended at 2026-03-10 06:30:20
      CURRENT_TEST: main.mysqltest_string_functions
      --- /home/buildbot/amd64-centos-7-bintar/build/mysql-test/main/mysqltest_string_functions.result	2026-03-10 06:17:56.000000000 +0000
      +++ /home/buildbot/amd64-centos-7-bintar/build/mysql-test/main/mysqltest_string_functions.reject	2026-03-10 06:30:20.532481068 +0000
      @@ -14,7 +14,7 @@
       abs(5 - 10) -> 5;
       abs(10 - 5) -> 5;
       abs(-(-25)) -> 25;
      -abs(-2147483648) -> 2147483648;
      +abs(-2147483648) -> -2147483648;
       abs(2147483647) -> 2147483647;
       abs(1 == 1) -> 1;
       abs(1 == 0) -> 0;
      Result length mismatch
      

      cr failures on 10.6.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              danblack Daniel Black
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.