Skip to content

Commit

Permalink
fix: make sure the distributed index drop works in the same way of em…
Browse files Browse the repository at this point in the history
…bedded
  • Loading branch information
tglman committed Dec 5, 2023
1 parent e63459a commit 4c65198
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4c65198

Please sign in to comment.