mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
More shutdown fixes
This commit is contained in:
parent
de85fbc6e0
commit
76ad79b7d7
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue