Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1681

IntegerType.toString() handles ByteBuffer incorrectly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 0.7.0 rc 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      IntegerType.getString doesn't correctly extract the byte array from the ByteBuffer passed to it. This causes incorrect results in cassandra-cli as described in CASSANDRA-1680.

        Attachments

        1. integer-type-byte-buffer.patch
          0.8 kB
          James P. Ancona

          Activity

            People

            • Assignee:
              jancona James P. Ancona
              Reporter:
              jancona James P. Ancona
              Authors:
              James P. Ancona
              Reviewers:
              Jonathan Ellis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: