Skip to content
Snippets Groups Projects
Commit c7abc631 authored by Mark Adamson's avatar Mark Adamson
Browse files

Fix the logic for checking if backend DB has all necessary functions.

parent c86ab4bc
No related branches found
No related tags found
No related merge requests found
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment