| |
@@ -698,8 +698,8 @@
|
| |
|
| |
/* Allocate our caches here since we only copy the config at the start of an op */
|
| |
if (memberof_use_txn() == 1){
|
| |
- dest->ancestors_cache = hashtable_new();
|
| |
- dest->fixup_cache = hashtable_new();
|
| |
+ dest->ancestors_cache = hashtable_new(1);
|
| |
+ dest->fixup_cache = hashtable_new(1);
|
| |
}
|
| |
|
| |
/* Check if the copy is already up to date */
|
| |
@8915d8d87 and @4471b7350 modified "usetxn" parameter in
"hashtable_new" scope (was a global variable before).
But the callers of this function don't pass an argument into.
Thus, "usetxn" acts like an uninitialized auto variable.
Originally made for 1.3.9, but can be imported to 1.4.x.
Fixes: https://pagure.io/389-ds-base/issue/50057