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

Unsigned Integer overflow for negative value instead of 0

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • None
    • Icebox
    • None
    • None
    • Debian 9

    Description

      Inserting a negative integer through the columnstore API which is mapped to a unsigned integer field results in a positive result instead of 0.

      If inserting the same value through SQL it is masked to 0.

      Reproducible by changing lines 73 and 92 of dataconvert-int.cpp to:

      bulk->setColumn(2, (uint64_t) -1);

      and

      ASSERT_STREQ(row[2], "0");

      Attachments

        Activity

          People

            LinuxJedi Andrew Hutchings (Inactive)
            jens.rowekamp Jens Röwekamp (Inactive)
            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.