mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Fix the logic for checking if backend DB has all necessary functions.
This commit is contained in:
parent
c86ab4bce7
commit
c7abc6310d
@ -24,10 +24,10 @@ main( int argc, char **argv )
|
||||
|
||||
slap_tool_init( "slapindex", SLAPINDEX, argc, argv );
|
||||
|
||||
if( !be->be_entry_open &&
|
||||
!be->be_entry_close &&
|
||||
!be->be_entry_first &&
|
||||
!be->be_entry_next &&
|
||||
if( !be->be_entry_open ||
|
||||
!be->be_entry_close ||
|
||||
!be->be_entry_first ||
|
||||
!be->be_entry_next ||
|
||||
!be->be_entry_reindex )
|
||||
{
|
||||
fprintf( stderr, "%s: database doesn't support necessary operations.\n",
|
||||
|
Loading…
Reference in New Issue
Block a user