@Override
 public void indexDrop(KernelStatement state, IndexDescriptor descriptor)
     throws DropIndexFailureException {
   state.locks().acquireExclusive(ResourceTypes.SCHEMA, schemaResource());
   schemaWriteDelegate.indexDrop(state, descriptor);
 }
Ejemplo n.º 2
0
 @Override
 public void indexDrop(KernelStatement state, IndexDescriptor descriptor)
     throws DropIndexFailureException {
   state.locks().acquireSchemaWriteLock();
   schemaWriteDelegate.indexDrop(state, descriptor);
 }