mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
More for -q tool mode
This commit is contained in:
parent
3218f6c110
commit
23116be5ae
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user