You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Resolved) (JIRA)" <ji...@apache.org> on 2011/11/24 15:12:39 UTC

[jira] [Resolved] (LUCENE-3589) BytesRef copy short missed the length setting

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

Robert Muir resolved LUCENE-3589.
---------------------------------

    Resolution: Fixed

Thanks Peter: I committed your fix
                
> BytesRef copy short missed the length setting
> ---------------------------------------------
>
>                 Key: LUCENE-3589
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3589
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/other
>    Affects Versions: 4.0
>         Environment: linux 64bit jdk 6
>            Reporter: peter chang
>            Assignee: Robert Muir
>              Labels: patch
>             Fix For: 4.0
>
>         Attachments: BytesRef_bug_lucene3589.patch
>
>
> when storing a short type integer to BytesRef, BytesRef missed the length setting. then it will cause the storage size is ZERO if no continuous options on this BytesRef

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org