cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-1785) [patch] use long math, if long values are expected.
Date Mon, 29 Nov 2010 16:49:11 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-1785.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis
      Assignee: Dave Brosius

commited, thanks!

> [patch] use long math, if long values are expected.
> ---------------------------------------------------
>
>                 Key: CASSANDRA-1785
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1785
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.7 beta 3
>         Environment: ubuntu10.10 java1.6.17 ant1.8
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>         Attachments: use_long_math.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> code does math assuming the result is a long, but uses integer math. Might as well use
long math to avoid possible truncation.

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


Mime
View raw message