Skip to content

Commit 018ecfa

Browse files
committed
store: fix namespace reference when loading indexes from table
1 parent fdb336b commit 018ecfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/postgres/src/relational/prune.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ impl TablePair {
100100
let mut list = IndexList {
101101
indexes: HashMap::new(),
102102
};
103-
let indexes = load_indexes_from_table(conn, &src, dst_nsp.as_str())?;
103+
let indexes = load_indexes_from_table(conn, &src, src_nsp.as_str())?;
104104
list.indexes.insert(src.name.to_string(), indexes);
105105

106106
// In case of pruning we don't do delayed creation of indexes,

0 commit comments

Comments
 (0)