From c12bf01b5af3c6f9cbb83fe365b09402b7913d5d Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 3 Jul 2017 21:59:02 +0900 Subject: [PATCH] When clearing a node info list, reset the node count to 0 --- dbutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbutils.c b/dbutils.c index 22800d86..8bff59c7 100644 --- a/dbutils.c +++ b/dbutils.c @@ -1733,6 +1733,8 @@ clear_node_info_list(NodeInfoList *nodes) pfree(cell); cell = next_cell; } + + nodes->node_count = 0; }