ID id;
struct dbcache *db, *db2;
Backend *be = NULL;
+ struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
Avlnode *avltypes = NULL;
}
be = &backends[dbnum];
+ /* disable write sync'ing */
+ li = (struct ldbminfo *) be->be_private;
+ li->li_dbcachewsync = 0;
+
/*
* first, make the dn2id index
*/
ID id;
struct dbcache *db;
Backend *be = NULL;
+ struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
Avlnode *avltypes = NULL;
}
be = &backends[dbnum];
+ /* disable write sync'ing */
+ li = (struct ldbminfo *) be->be_private;
+ li->li_dbcachewsync = 0;
+
if ( (db = ldbm_cache_open( be, "id2entry", LDBM_SUFFIX, LDBM_NEWDB ))
== NULL ) {
perror( "id2entry file" );
int dbnum;
unsigned long id;
Backend *be = NULL;
+ struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
}
be = &backends[dbnum];
+ /* disable write sync'ing */
+ li = (struct ldbminfo *) be->be_private;
+ li->li_dbcachewsync = 0;
+
attr_masks( be->be_private, attr, &indexmask, &syntaxmask );
if ( indexmask == 0 ) {
exit( 0 );
int dbnum;
ID id;
Backend *be = NULL;
+ struct ldbminfo *li;
struct berval bv;
struct berval *vals[2];
Avlnode *avltypes = NULL;
}
be = &backends[dbnum];
+ /* disable write sync'ing */
+ li = (struct ldbminfo *) be->be_private;
+ li->li_dbcachewsync = 0;
+
/*
* generate the id2entry index
*/