Update of bug #20723 (project freeciv):
Status: None => Ready For Test
_______________________________________________________
Follow-up Comment #6:
> The LuaSQL docs indicate that an equivalent set of 'require'
> statements inside Lua can end up with a 'luasql' table
> containing multiple drivers simultaneously.
(That site does not respond, but I found some documentation from luasql git)
No, the example shows how 'require' is used to open *multiple* tables, not
*one* where everything works.
So first step is obviously opening all the tables. That's easy.
Ideally I would then like to combine the tables in to one, but that's not very
easy, at least to be done right. So I think it's sufficient for now to use
multiple tables in database.lua too.
Patch attached. I don't currently have good setup to test this, so I'd be
grateful if someone else could do some testing on this.
(file #21612)
_______________________________________________________
Additional Item Attachment:
File name: MultibackendLuasql.patch Size:1 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20723>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev