|
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/12.20.0.090605 |
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.
Jon
Use Hotmail to send and receive mail from your different email accounts. Find out how. <http://clk.atdmt.com/UKM/go/167688463/direct/01/>
[Prev in Thread] | Current Thread | [Next in Thread] |