bug-gnubg
[Top][All Lists]
Advanced

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

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


From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] Adding records to the relational databaase...
Date: Wed, 7 Oct 2009 14:18:43 +0000

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.

reply via email to

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