mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
More shutdown fixes
This commit is contained in:
parent
de85fbc6e0
commit
76ad79b7d7
@ -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; i<gi->gi_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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user