From e71288d31ed40695d43acf53e500fadd7318206f Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 29 May 2024 14:49:32 -0700 Subject: [PATCH] Delete some now-unused functions These were used for converting to the file format where ObjKeys were derived from primary keys. --- src/realm/table.cpp | 10 ---------- src/realm/table.hpp | 3 --- 2 files changed, 13 deletions(-) diff --git a/src/realm/table.cpp b/src/realm/table.cpp index 306a14707b0..f41ec412ad5 100644 --- a/src/realm/table.cpp +++ b/src/realm/table.cpp @@ -1577,16 +1577,6 @@ uint64_t Table::allocate_sequence_number() return sn; } -void Table::set_sequence_number(uint64_t seq) -{ - m_top.set(top_position_for_sequence_number, RefOrTagged::make_tagged(seq)); -} - -void Table::set_collision_map(ref_type ref) -{ - m_top.set(top_position_for_collision_map, RefOrTagged::make_ref(ref)); -} - void Table::set_col_key_sequence_number(uint64_t seq) { m_top.set(top_position_for_column_key, RefOrTagged::make_tagged(seq)); diff --git a/src/realm/table.hpp b/src/realm/table.hpp index e175c6548f4..80496b12fb9 100644 --- a/src/realm/table.hpp +++ b/src/realm/table.hpp @@ -415,9 +415,6 @@ class Table { TableKey get_key() const noexcept; uint64_t allocate_sequence_number(); - // Used by upgrade - void set_sequence_number(uint64_t seq); - void set_collision_map(ref_type ref); // Used for testing purposes. void set_col_key_sequence_number(uint64_t seq);