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

[PATCH] bigint fail with gcc 5.0

    XMLWordPrintable

Details

    Description

      Originally spotted with mysql-5.6.24 (http://bugs.mysql.com/bug.php?id=76654), but mariadb 10.0.17 seems to have the same issue:

      Description:
      When building mysql-5.6.24 with gcc 5.0 on Fedora 22 or later some tests fail on big integers operations, for example bigint test case.

      Full build log is available here:
      https://kojipkgs.fedoraproject.org//work/tasks/3420/9443420/build.log

      How to repeat:
      Run bigint test or a small reproducer:

        MySQL [(none)]> select -(-9223372036854775808);
        +-------------------------+
        | -(-9223372036854775808) |
        +-------------------------+
        |               854775808 |
        +-------------------------+

      Which is obviously wrong.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            hhorak Honza Horak
            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.