Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] Re: (PR#13262) RFC: pubserver-in-a-diff
Home

[Freeciv-Dev] Re: (PR#13262) RFC: pubserver-in-a-diff

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#13262) RFC: pubserver-in-a-diff
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 24 Jul 2005 07:31:26 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13262 >

On Wed, 22 Jun 2005, Mike Kaufman wrote:
> > > > DISCUSS:
> > >* the mysql code for the libuserdb should probably go into cvs then. which
> > >means that we need a configure check for mysql.
> >
> > Where is this code?
>
> /home/freeciv/lib/db on pubserver
>
> I'm not really sure how to shoehorn it into the codebase though. Certainly
> most of the code should go into server/userdb. md5.c needs to be cleaned
> up, then probably put into utility/.

How is this code used now? Just copied over server/userdb in the cvs
checkout on pubserver, or what?

Since the server anyway has a direct link to the mysql db here, why not
just insert the game results into the db directly, instead of going the
way of parsing the gamelog?

I have no problem with making both authentication and pubserver mode
require mysql, BTW. In terms of third-party usability, it will be
light-years ahead of what we (do not) have now anyway.

  - Per





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