You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/11/29 17:49:11 UTC
[jira] Resolved: (CASSANDRA-1785) [patch] use long math, if long
values are expected.
[ 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.