From d67de2b081d916a2a1f7417a94bff038def6a153 Mon Sep 17 00:00:00 2001 From: Tglman Date: Tue, 21 May 2024 15:19:14 +0200 Subject: [PATCH] fix: minor correction to database import --- .../orient/core/db/tool/ODatabaseImport.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java b/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java index 33f23324ee6..25ef912687e 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java +++ b/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java @@ -481,11 +481,6 @@ private void removeDefaultNonSecurityClasses() { } } - final OIndexManagerAbstract indexManager = database.getMetadata().getIndexManagerInternal(); - for (final String indexName : indexNames) { - indexManager.dropIndex(database, indexName); - } - int removedClasses = 0; while (!classesToDrop.isEmpty()) { final AbstractList classesReadyToDrop = new ArrayList<>();