]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10047 back-mdb: fix indexer resume on slapd restart
authorHoward Chu <hyc@openldap.org>
Tue, 9 May 2023 13:38:13 +0000 (14:38 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Mon, 15 May 2023 19:21:49 +0000 (19:21 +0000)
when overlays are in use on the database

servers/slapd/back-mdb/init.c

index 615f912e30abba7bad9eb700bc5de33fda488cc0..606edbc1b57a1c87275d9d7e51864d32b65646e7 100644 (file)
@@ -313,7 +313,7 @@ mdb_db_open( BackendDB *be, ConfigReply *cr )
        mdb->mi_flags |= MDB_IS_OPEN;
 
        if ( do_index )
-               mdb_start_index_task( be );
+               mdb_start_index_task( be->bd_self );
 
        return 0;