Skip to content
Snippets Groups Projects
Commit 57fa57b1 authored by Howard Chu's avatar Howard Chu
Browse files

Fix HDB - don't use IDL cache when it's not configured

parent e48f72c1
No related branches found
No related tags found
No related merge requests found
......@@ -1122,7 +1122,8 @@ hdb_dn2idl(
cx.key.size = sizeof(ID)+1;
*ptr = cx.prefix;
cx.id = e->e_id;
bdb_idl_cache_put( cx.bdb, cx.db, &cx.key, cx.ids, cx.rc );
if ( cx.bdb->bi_idl_cache_max_size )
bdb_idl_cache_put( cx.bdb, cx.db, &cx.key, cx.ids, cx.rc );
}
if ( cx.rc == DB_NOTFOUND )
......
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