mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
ITS#7087 fix mdb_online_index endless loop
This commit is contained in:
parent
334099c0db
commit
e52127533d
1 changed files with 1 additions and 1 deletions
|
|
@ -134,7 +134,6 @@ mdb_online_index( void *ctx, void *arg )
|
|||
op->o_bd = be;
|
||||
|
||||
id = 1;
|
||||
key.mv_data = &id;
|
||||
key.mv_size = sizeof(ID);
|
||||
|
||||
while ( 1 ) {
|
||||
|
|
@ -151,6 +150,7 @@ mdb_online_index( void *ctx, void *arg )
|
|||
}
|
||||
if ( getnext ) {
|
||||
getnext = 0;
|
||||
key.mv_data = &id;
|
||||
rc = mdb_cursor_get( curs, &key, &data, MDB_SET_RANGE );
|
||||
if ( rc ) {
|
||||
mdb_txn_abort( txn );
|
||||
|
|
|
|||
Loading…
Reference in a new issue