mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibSQL: Use Block::Index everywhere; rename pointer to block_index
No functional changes.
This commit is contained in:
committed by
Tim Flynn
parent
6601ff9d65
commit
fdac8331cc
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user