bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] sqlite sync


From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] sqlite sync
Date: Tue, 08 Jan 2008 11:30:10 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0

Christian Anthon wrote:
> Jonathan Kinsey wrote:
> 
>> I'm making some changes to the database, I recently removed some fields from 
>> the
>> database, this will unfortunately break everything.  I'm currently adding a
>> native sqlite interface (keeping the python ones but moving the code from 
>> python
>> to c).
>>
> 
> Yes the database was too complicated for our needs. You could do a lot
> of fancy things that nobody would ever bother to do anyway. Simplifying
> now when the number of users is low seems like a good idea.
> 
> The c interface to sqlite is easier to use than the python api, imo. So
> why keep the python interface to the database? I'll bet you that at some
> point the two interfaces will get out of sync and we will then remove
> one of them anyway.

I'm keeping the python interface, so postgress, mysql work (and sqlite is there
as well), I'm stripping it down to a minimal interface (connect, query, and a
few bits).  The theory is that any change to the new C database code will be
independent of the database being used.  We'll see how it turns out...

Jon


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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