More for -q tool mode

This commit is contained in:
Howard Chu 2007-12-13 08:02:40 +00:00
parent 3218f6c110
commit 23116be5ae

View File

@ -33,6 +33,9 @@ bdb_dn2id_lock( struct bdb_info *bdb, struct berval *dn,
DBT lockobj; DBT lockobj;
int db_rw; int db_rw;
if (!locker)
return 0;
if (rw) if (rw)
db_rw = DB_LOCK_WRITE; db_rw = DB_LOCK_WRITE;
else else