From 76ad79b7d743d02cd0b7a7223a4f314a97928b0f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 5 Dec 2004 08:19:28 +0000 Subject: [PATCH] More shutdown fixes --- servers/slapd/overlays/glue.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servers/slapd/overlays/glue.c b/servers/slapd/overlays/glue.c index 3dee4ef293..07898ed12d 100644 --- a/servers/slapd/overlays/glue.c +++ b/servers/slapd/overlays/glue.c @@ -604,12 +604,17 @@ glue_tool_sync ( { slap_overinst *on = glue_tool_inst( b0->bd_info ); glueinfo *gi = on->on_bi.bi_private; + BackendInfo *bi = b0->bd_info; int i; /* just sync everyone */ for (i = 0; igi_nodes; i++) if (gi->gi_n[i].gn_be->be_sync) gi->gi_n[i].gn_be->be_sync (gi->gi_n[i].gn_be); + b0->bd_info = on->on_info->oi_orig; + if ( b0->be_sync ) + b0->be_sync( b0 ); + b0->bd_info = bi; return 0; } -- 2.39.5