|
|
Choosing A Webhost: |
[JIRA] Closed: (CAROB-53) error in writeJavaLong() and readJavaLong(): msg#00017db.carob.general
[ 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
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [c-jdbc] Using from non-Java apps, Marc Herbert |
|---|---|
| Next by Date: | [JIRA] Closed: (CAROB-49) carob encoding is flawed: requires an UTF8 locale + does not handle nulls, Marc Herbert (JIRA) |
| Previous by Thread: | [JIRA] Created: (CAROB-53) error in writeJavaLong() and readJavaLong(), Zsolt Simon (JIRA) |
| Next by Thread: | Re: [c-jdbc] Using from non-Java apps, Marc Herbert |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|