[ZCM] [ZC] 1592/ 3 Comment ""I" BTrees on 64-bit boxes can lose bits"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed May 18 11:38:44 EDT 2005


Issue #1592 Update (Comment) ""I" BTrees on 64-bit boxes can lose bits"
 Status Accepted, Database/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1592

==============================================================
= Comment - Entry #3 by tim_one on May 18, 2005 11:38 am

Yes, it's still an issue.
________________________________________
= Comment - Entry #2 by ajung on May 18, 2005 11:36 am

Is this still an issue?
________________________________________
= Request - Entry #1 by tim_one on Nov 23, 2004 4:07 pm

 Status: Pending => Accepted

 Supporters added: tim_one

See

    <http://mail.zope.org/pipermail/zodb-dev/2004-November/008200.html>

for the long course.  Short course:  IO, II, and OI BTree-based data structures intend that the integers fit in no more than 32 bits, but don't detect violations on boxes with sizeof(long) > sizeof(int) (most likely 64-bit non-Windows C compilers).  Instead bits from ints can be lost, via implicit downcasting (from long to int) in the C code.
==============================================================



More information about the Zope-Collector-Monitor mailing list