diff --git a/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/metadata/OIndexManagerDistributed.java b/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/metadata/OIndexManagerDistributed.java index 1ee02c9582a..551a1b310c0 100755 --- a/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/metadata/OIndexManagerDistributed.java +++ b/distributed/src/main/java/com/orientechnologies/orient/server/distributed/impl/metadata/OIndexManagerDistributed.java @@ -130,7 +130,7 @@ public void dropIndex(ODatabaseDocumentInternal database, final String iIndexNam public void distributedDropIndex(ODatabaseDocumentInternal database, final String iName) { - String dropIndexDDL = "DROP INDEX `" + iName + "`"; + String dropIndexDDL = "DROP INDEX `" + iName + "` if exists"; sendCommand(database, dropIndexDDL);