Skip to content

Commit e376b6c

Browse files
committed
fix(server): ensure graph clear API does not clear meta table
1 parent 8b90977 commit e376b6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • hugegraph-server/hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql

hugegraph-server/hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql/MysqlStore.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ public void truncate() {
223223
this.checkOpened();
224224

225225
this.truncateTables();
226+
this.init();
226227
LOG.debug("Store truncated: {}", this.store);
227228
}
228229

0 commit comments

Comments
 (0)