]> granicus.if.org Git - pgbouncer/commitdiff
Don't tag automatically generated dbs as killable on reload.
authorMarko Kreen <markokr@gmail.com>
Tue, 3 Aug 2010 15:00:18 +0000 (15:00 +0000)
committerMarko Kreen <markokr@gmail.com>
Wed, 4 Aug 2010 04:06:25 +0000 (07:06 +0300)
src/main.c

index 38cd34642bca57ffe2cac9f62db617dd194f7d6a..560b100f757d8ed0090238ca7990e4057c825eff 100644 (file)
@@ -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;
        }
 }