logo       

critical GOODS client bug fixes: msg#00127

Subject: critical GOODS client bug fixes
The problem below has been fixed, and a new version (78) is up on SM. I strongly recommend people upgrade to this - as well as fixing the decoding of negative small ints (would you believe this has never worked properly until now, and nobody noticed? Scary...), it catches a couple of edge cases where, after the right combination of conflicts and rollbacks, some changes were getting missed during commit.

Avi

On Oct 24, 2004, at 1:24 PM, Yar Hwee Boon wrote:

On Sun, 24 Oct 2004 13:24:03 +0200, Avi Bryant <avi@xxxxxxxxx> wrote:


On Oct 24, 2004, at 6:27 AM, Yar Hwee Boon wrote:

I noticed a problem when storing and retrieving SmallInteger(s) in GOODS. Run the following:

=====
db := KKDatabase onHost: 'localhost' port: 6100.
db root at: #xx put: -3.
db flushAll.
(db root at: #xx) inspect
======

You need a #commit before the #flushAll or you won't have anything at #xx at all. But yes, having put that in I can reproduce your bug - clearly something going wrong with the signed integer representation. I'll look into it, thanks.

I thought of this, but when I try to debug and step through #encodeSignedInteger: and #decodeSignedInteger: by putting #halt in them, it seems not to write to the database, or write differently as when I remove the #halt-s. Do you know why?.





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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