Summary: fcdb: support SQLite backend "out of the box"
Submitted by: jtn
Submitted on: Tue May 8 20:11:27 2012
Priority: 5 - Normal
Status: In Progress
Assigned to: jtn
Discussion Lock: Any
Planned Release: 2.4.0,2.5.0
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
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list