From: Marko Kreen Date: Tue, 3 Aug 2010 15:00:18 +0000 (+0000) Subject: Don't tag automatically generated dbs as killable on reload. X-Git-Tag: pgbouncer_1_4_rc3~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f64c880dddb30177d5b3e204a0e65f0e32b589f1;p=pgbouncer Don't tag automatically generated dbs as killable on reload. --- diff --git a/src/main.c b/src/main.c index 38cd346..560b100 100644 --- a/src/main.c +++ b/src/main.c @@ -280,6 +280,8 @@ static void set_dbs_dead(bool flag) db = container_of(item, PgDatabase, head); if (db->admin) continue; + if (db->db_auto) + continue; db->db_dead = flag; } }