URL:
<http://gna.org/patch/?3287>
Summary: fcdb: support SQLite backend "out of the box"
Project: Freeciv
Submitted by: jtn
Submitted on: Tue May 8 20:11:27 2012
Category: general
Priority: 5 - Normal
Status: In Progress
Privacy: Public
Assigned to: jtn
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.0,2.5.0
_______________________________________________________
Details:
Raising a ticket to note that I'm working on making SQLite support work more
or less "out of the box" as a release goal for 2.4.0. This should allow
servers running authentication without the faff of running a database server,
and in particular may allow us to ship a Windows server binary which supports
authentication fairly easily.
What it's looking like currently:
* Run a different init function in database.lua, based on the new "backend"
variable (patch #3273)
* Remove MySQL extensions from the SQL elsewhere in database.lua
* Some way to create the initial database file
** This could be as simple as a function in database.lua that the server
operator can invoke with /fcdb lua create_sqlite_tables() or similar. I
don't want to use a shell script, because that's painful for Windows users.
** Could try to be really slick and create the tables if they don't exist, but
probably won't.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3287>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev