[PATCH 6/6] auth: passdb_sql: connect before expanding query variables
sql_lookup_pass() calls settings_get_params() with an SQL escape func that
requires a live connection. If the DB is disconnected, the error propagated
as "Failed to parse configuration" instead of a DB connectivity error.
Call sql_connect() first; fail with "Not connected to database" directly
if it returns -1.
Gbp-Pq: Name 0006-auth-passdb_sql-connect-before-expanding-query-varia.patch