[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Adding records to the relational databaase...

From: Michael Petch
Subject: Re: [Bug-gnubg] Adding records to the relational databaase...
Date: Wed, 07 Oct 2009 09:19:48 -0600
User-agent: Microsoft-Entourage/

It is In fact analysis related but very subtle. The function GetMoveString() returns the aszSkillTypeAbbr (??, ?, ?! Etc) on the end of each move. This abbr is dependent on what the current analysis produced.

On 07/10/09 8:18 AM, "Jonathan Kinsey" <address@hidden> wrote:

Michael Petch wrote:
> Hi Christian,
> I’m not sure if this is a bug or was by design but it seems to go
> counter to what I would expect. When you add a match to the database a
> hash is done on the current match in memory (The hash seems to be done
> on all the moves and the analysis data). If I take a MAT file, load it
> in from scratch. Analyze on 0 ply and add it to the database, then try
> to add it again right after it realizes there is already data in and
> asks me to overwrite. If I analyze at 0 ply, add to DB then analyze at 1
> ply and then add again it doesn’t seem to know the file I am using was
> already in the DB.
> My question is this. Is it maybe more prudent to hash the match without
> any analysis data (and just use the move data) when adding it to the
> Database?

That was the plan when I wrote that code - are you sure the analysis data is
included?  It might be something else causing this, I'll take a look when I get
a chance.



Use Hotmail to send and receive mail from your different email accounts. Find out how. <http://clk.atdmt.com/UKM/go/167688463/direct/01/>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]