Fix typos
This commit is contained in:
committed by
Avi Kivity
parent
f2713561f5
commit
2bfb138910
@@ -244,7 +244,7 @@ class serializer;
|
||||
}
|
||||
|
||||
// A variant type that can hold either an atomic_cell, or a serialized collection.
|
||||
// Which type is stored is determinied by the schema.
|
||||
// Which type is stored is determined by the schema.
|
||||
class atomic_cell_or_collection final {
|
||||
managed_bytes _data;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ memtable::find_or_create_partition_slow(partition_key_view key) {
|
||||
// FIXME: Perform lookup using std::pair<token, partition_key_view>
|
||||
// to avoid unconditional copy of the partition key.
|
||||
// We can't do it right now because std::map<> which holds
|
||||
// partitions doesn't support heterogenous lookup.
|
||||
// partitions doesn't support heterogeneous lookup.
|
||||
// We could switch to boost::intrusive_map<> similar to what we have for row keys.
|
||||
auto& outer = current_allocator();
|
||||
return with_allocator(standard_allocator(), [&, this] () -> mutation_partition& {
|
||||
|
||||
Reference in New Issue
Block a user