Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: srlch <[email protected]>
  • Loading branch information
srlch committed Sep 20, 2024
1 parent cb640b2 commit 084791f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ public void setIndexIdForRestore(long indexId) {
this.indexId = indexId;
}

public void setSchemaIdForRestore(long schemaId) {
this.schemaId = schemaId;
}

public KeysType getKeysType() {
return keysType;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ public Status resetIdsForRestore(GlobalStateMgr globalStateMgr, Database db, int
}
indexIdToMeta.put(newIdxId, indexIdToMeta.remove(entry.getKey()));
indexIdToMeta.get(newIdxId).setIndexIdForRestore(newIdxId);
indexIdToMeta.get(newIdxId).setSchemaIdForRestore(newIdxId);
indexIdToMeta.get(newIdxId).setSchemaId(newIdxId);
indexNameToId.put(entry.getValue(), newIdxId);
}

Expand Down

0 comments on commit 084791f

Please sign in to comment.