Skip to content

Commit bd7f315

Browse files
committed
emulator: mechanical fixes of typos.
1 parent e870f91 commit bd7f315

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

google/cloud/bigtable/emulator/rollback_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ TEST(TransactonRollback, ZeroOrNegativeTimestampHandling) {
339339
status = SetCells(table, table_name, row_key_4, v);
340340
ASSERT_FALSE(status.ok());
341341

342-
// Test that a mutation with timestamp -1 suceeds and stores the
342+
// Test that a mutation with timestamp -1 succeeds and stores the
343343
// system time.
344344
v.clear();
345345
v = {

google/cloud/bigtable/emulator/table.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ Status Table::SampleRowKeys(
525525
bool first_row = true;
526526

527527
std::map<std::string, std::size_t> column_family_size_map;
528-
std::map<std::string, std::size_t> column_qualifer_size_map;
528+
std::map<std::string, std::size_t> column_qualifier_size_map;
529529
size_t timestamp_total_row_size = 0;
530530
size_t value_total_row_size = 0;
531531

@@ -539,7 +539,7 @@ Status Table::SampleRowKeys(
539539
row_offset += cf.second;
540540
}
541541

542-
for (auto const& cq : column_qualifer_size_map) {
542+
for (auto const& cq : column_qualifier_size_map) {
543543
row_offset += cq.second;
544544
}
545545

@@ -554,14 +554,14 @@ Status Table::SampleRowKeys(
554554
first_row = false;
555555

556556
column_family_size_map.clear();
557-
column_qualifer_size_map.clear();
557+
column_qualifier_size_map.clear();
558558
timestamp_total_row_size = 0;
559559
value_total_row_size = 0;
560560
}
561561

562562
column_family_size_map.emplace(stream->column_family(),
563563
stream->column_family().size());
564-
column_qualifer_size_map.emplace(stream->column_qualifier(),
564+
column_qualifier_size_map.emplace(stream->column_qualifier(),
565565
stream->column_qualifier().size());
566566
timestamp_total_row_size += sizeof(stream->timestamp());
567567
value_total_row_size += stream->value().size();

0 commit comments

Comments
 (0)