LibSQL: Use Block::Index everywhere; rename pointer to block_index

No functional changes.
This commit is contained in:
Jelle Raaijmakers
2023-04-23 13:59:56 +02:00
committed by Tim Flynn
parent 6601ff9d65
commit fdac8331cc
19 changed files with 202 additions and 203 deletions

View File

@@ -29,7 +29,7 @@ Key SchemaDef::key() const
{
auto key = Key(index_def()->to_tuple_descriptor());
key["schema_name"] = name();
key.set_pointer(pointer());
key.set_block_index(block_index());
return key;
}
@@ -171,7 +171,7 @@ Key TableDef::key() const
auto key = Key(index_def()->to_tuple_descriptor());
key["schema_hash"] = parent_relation()->key().hash();
key["table_name"] = name();
key.set_pointer(pointer());
key.set_block_index(block_index());
return key;
}