These patches make the SQL queries used by MiniDLNA non-SQLite-specific.
While these queries still work with SQLite, they make it easier to add support for other databases to MiniDLNA.
SQL query patches
Fixed SQL query patch against latest git repository.
Attached is the latest version of the patch against the most recent git tree.