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