Skip to content

Commit 477fc41

Browse files
committed
Allocate globally-unique system item ids
1 parent d7345ae commit 477fc41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/catalog/src/durable/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ impl<'a> Transaction<'a> {
787787
"we can only allocate system item IDs during bootstrap"
788788
);
789789
Ok(self
790-
.get_and_increment_id_by(&[SYSTEM_ITEM_ALLOC_KEY], amount)?
790+
.get_and_increment_id_by(SYSTEM_ALLOC_KEYS, amount)?
791791
.into_iter()
792792
// TODO(alter_table): Use separate ID allocators.
793793
.map(|x| (CatalogItemId::System(x), GlobalId::System(x)))

0 commit comments

Comments
 (0)