Skip to content
Snippets Groups Projects
Commit 97e88afb authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Sync the cache per Stuart Lynne <sl@poste.com>

parent fa2da63c
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ dn2id_add(
data.dptr = (char *) &id;
data.dsize = sizeof(ID);
rc = ldbm_cache_store( db, key, data, LDBM_INSERT );
rc = ldbm_cache_store( db, key, data, LDBM_INSERT | LDBM_SYNC );
free( dn );
ldbm_cache_close( be, db );
......
......@@ -172,7 +172,7 @@ idl_store(
data.dptr = (char *) idl;
data.dsize = (2 + idl->b_nmax) * sizeof(ID);
rc = ldbm_cache_store( db, key, data, LDBM_REPLACE );
rc = ldbm_cache_store( db, key, data, LDBM_REPLACE | LDBM_SYNC );
/* Debug( LDAP_DEBUG_TRACE, "<= idl_store %d\n", rc, 0, 0 ); */
return( rc );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment