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

CAST(AS UNSIGNED) fails with --view-protocol

    XMLWordPrintable

Details

    Description

      This MTR test:

      SELECT CAST(-1e0 AS UNSIGNED);
      

      fails when executed with --view-protocol with this diff:

      @@ -1,5 +1,5 @@
       SELECT CAST(-1e0 AS UNSIGNED);
       CAST(-1e0 AS UNSIGNED)
      -0
      +18446744073709551615
       Warnings:
      -Note	1916	Got overflow when converting '-1' to UNSIGNED BIGINT. Value truncated
      +Note	1105	Cast to unsigned converted negative integer to it's positive complement
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              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.