You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jim Ancona (JIRA)" <ji...@apache.org> on 2010/10/29 03:42:20 UTC

[jira] Created: (CASSANDRA-1681) IntegerType.toString() handles ByteBuffer incorrectly

IntegerType.toString() handles ByteBuffer incorrectly
-----------------------------------------------------

                 Key: CASSANDRA-1681
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1681
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 0.7 beta 3
            Reporter: Jim Ancona
         Attachments: integer-type-byte-buffer.patch

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|https://issues.apache.org/jira/browse/CASSANDRA-1680].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-1681) IntegerType.toString() handles ByteBuffer incorrectly

Posted by "Jim Ancona (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ancona updated CASSANDRA-1681:
----------------------------------

    Attachment: integer-type-byte-buffer.patch

> IntegerType.toString() handles ByteBuffer incorrectly
> -----------------------------------------------------
>
>                 Key: CASSANDRA-1681
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1681
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7 beta 3
>            Reporter: Jim Ancona
>         Attachments: integer-type-byte-buffer.patch
>
>
> 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|https://issues.apache.org/jira/browse/CASSANDRA-1680].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-1681) IntegerType.toString() handles ByteBuffer incorrectly

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-1681.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7.0
         Reviewer: jbellis
         Assignee: Jim Ancona

committed, with a slight change to call byteBufferToByteArray directly.  thanks!

> IntegerType.toString() handles ByteBuffer incorrectly
> -----------------------------------------------------
>
>                 Key: CASSANDRA-1681
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1681
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7 beta 3
>            Reporter: Jim Ancona
>            Assignee: Jim Ancona
>             Fix For: 0.7.0
>
>         Attachments: integer-type-byte-buffer.patch
>
>
> 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|https://issues.apache.org/jira/browse/CASSANDRA-1680].

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.