Skip to content

Commit

Permalink
Fix test failure for creating composite indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvest committed Mar 9, 2017
1 parent 347f880 commit bb48414
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -571,8 +571,9 @@ public long relationshipsGetCount( KernelStatement state )
@Override
public NewIndexDescriptor indexCreate( KernelStatement state, NodePropertyDescriptor descriptor )
{
state.txState().indexRuleDoAdd( IndexBoundary.map( descriptor ) );
return IndexBoundary.map( descriptor );
NewIndexDescriptor newIndexDescriptor = IndexBoundary.map( descriptor );
state.txState().indexRuleDoAdd( newIndexDescriptor );
return newIndexDescriptor;
}

@Override
Expand Down

0 comments on commit bb48414

Please sign in to comment.