[aur-dev] [PATCH v2 2/2] Fix DB.class.php to match config and include SQLite support

Lukas Fleischer lfleischer at archlinux.org
Fri Nov 11 06:18:52 UTC 2016


On Thu, 10 Nov 2016 at 00:54:38, Mark Weiman wrote:
> In commit baf8a22 (git-interface: Support SQLite as database backend,
> 2016-08-03), conf/config.proto was changed so that dsn_prefix was
> changed to backend and this fixes this in web/lib/DB.class.php.
> 
> Since SQLite's dsn is different, this adds a check of which backend is
> desired and will quit if MySQL or SQLite are not the backend selected.
> SQLite2 may be supported, but is untested and will trigger an error if
> used.
> 
> Signed-off-by: Mark Weiman <mark.weiman at markzz.com>
> ---
>  web/lib/DB.class.php | 24 +++++++++++++++++-------
>  1 file changed, 17 insertions(+), 7 deletions(-)
> [...]

Great! I merged this one, as well as the preparatory patch and the quote
fix into pu!


More information about the aur-dev mailing list