The ltdb->cache->attribute_indexes test is not correct with the GUID index mode
so for consistency remove it. This will make re-index on a large un-indexed
database slower, but that is better than making the wrong choice on a large
GUID-indexed database.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
return LDB_ERR_OPERATIONS_ERROR;
}
- /* if we don't have indexes we have nothing todo */
- if (!ltdb->cache->attribute_indexes) {
- return LDB_SUCCESS;
- }
-
ctx.module = module;
ctx.error = 0;