summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ovsdb/ovsdb.c')
-rw-r--r--ovsdb/ovsdb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ovsdb/ovsdb.c b/ovsdb/ovsdb.c
index 11786f376..afec96264 100644
--- a/ovsdb/ovsdb.c
+++ b/ovsdb/ovsdb.c
@@ -715,5 +715,8 @@ ovsdb_replace(struct ovsdb *dst, struct ovsdb *src)
dst->rbac_role = ovsdb_get_table(dst, "RBAC_Role");
+ /* Get statistics from the new database. */
+ dst->n_atoms = src->n_atoms;
+
ovsdb_destroy(src);
}