]> granicus.if.org Git - pgbouncer/commitdiff
Remove broken assertions
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 11 Sep 2019 08:28:55 +0000 (10:28 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 11 Sep 2019 08:28:55 +0000 (10:28 +0200)
These haven't worked since 035b15e3707bb295142830a27ac36f6997cb3861.

test/asynctest.c

index 469f50e96aea29f8ba11eb8f12ff532dd0cec99b..fd7f1984e353401625a837df0f204eebf97b986b 100644 (file)
@@ -84,7 +84,6 @@ static DbConn *new_db(const char *connstr)
 
 static void set_idle(DbConn *db)
 {
-       Assert(item_in_list(&db->head, &active_list.head));
        statlist_remove(&active_list, &db->head);
        statlist_append(&idle_list, &db->head);
        log_debug("%p: set_idle", db);
@@ -92,7 +91,6 @@ static void set_idle(DbConn *db)
 
 static void set_active(DbConn *db)
 {
-       Assert(item_in_list(&db->head, &idle_list.head));
        statlist_remove(&idle_list, &db->head);
        statlist_append(&active_list, &db->head);
        log_debug("%p: set_active", db);