Skip to content

Commit

Permalink
Delete some now-unused functions
Browse files Browse the repository at this point in the history
These were used for converting to the file format where ObjKeys were derived
from primary keys.
  • Loading branch information
tgoyne committed Jun 3, 2024
1 parent ad023e5 commit e71288d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
10 changes: 0 additions & 10 deletions src/realm/table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
3 changes: 0 additions & 3 deletions src/realm/table.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e71288d

Please sign in to comment.