]> git.sur5r.net Git - openldap/commitdiff
Keep attr list intact, glued DBs may need it
authorHoward Chu <hyc@openldap.org>
Mon, 15 Jan 2007 01:23:02 +0000 (01:23 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 15 Jan 2007 01:23:02 +0000 (01:23 +0000)
servers/slapd/slapindex.c

index e7c2d9e8e9b97c89b4ef76f01e1fc03f133513d4..4f8e326b55d2ea425f6a239c3189e52b792626b3 100644 (file)
@@ -88,11 +88,7 @@ slapindex( int argc, char **argv )
                        printf("indexing id=%08lx\n", (long) id );
                }
 
-               /* Backend will set its attr list on first call. Clear
-                * the list on all subsequent calls.
-                */
                rtn =  be->be_entry_reindex( be, id, adv );
-               adv = NULL;
 
                if( rtn != LDAP_SUCCESS ) {
                        rc = EXIT_FAILURE;