[ https://forge.continuent.org/jira/browse/CAROB-53?page=all ]
Zsolt Simon closed CAROB-53:
----------------------------
Resolution: Fixed
Implemented: htonll() and ntohll() function which converts from and to network
byte order to host byte order a 64bit integer.
Corrected writeJavaLong() and readJavaLong() to use this functions.
> error in writeJavaLong() and readJavaLong()
> -------------------------------------------
>
> Key: CAROB-53
> URL: https://forge.continuent.org/jira/browse/CAROB-53
> Project: Carob
> Type: Bug
> Components: C++ API
> Reporter: Zsolt Simon
> Assignee: Zsolt Simon
>
>
> when receiving extreme long numbers which will not fit in an int32_t, the
> functions writeJavaLong() and readJavaLong() will not work correctly.
> After investigating the problem is, that they use htonl() and ntohl()
> conversion functions. But both of this conversion functions work only with
> int32_t ! so the upper part of the int64_t is lost ....
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob