Skip to content

Commit

Permalink
fix dropped id when restoring indexlabel
Browse files Browse the repository at this point in the history
Change-Id: I36a804fd2369e9d6ecc0f7317995300f6d9f4dc4
fixed: hugegraph-tools #81
  • Loading branch information
zhoney committed Mar 22, 2021
1 parent abb1f2b commit 00d233d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ public IndexLabelV56(IndexLabel indexLabel) {
super(indexLabel.name);
E.checkArgument(indexLabel.rebuild,
"The rebuild of indexlabel must be true");
this.id = indexLabel.id();
this.baseType = indexLabel.baseType;
this.baseValue = indexLabel.baseValue;
this.indexType = indexLabel.indexType;
Expand All @@ -294,6 +295,7 @@ public IndexLabelV49(IndexLabel indexLabel) {
"The userdata of indexlabel must be empty");
E.checkArgument(indexLabel.rebuild,
"The rebuild of indexlabel must be true");
this.id = indexLabel.id();
this.baseType = indexLabel.baseType;
this.baseValue = indexLabel.baseValue;
this.indexType = indexLabel.indexType;
Expand Down

0 comments on commit 00d233d

Please sign in to comment.