[spell] Fix spell error in row_batch.h (#10109)

This commit is contained in:
yinzhijian
2022-06-14 15:28:29 +08:00
committed by GitHub
parent 622143f87c
commit 2a96d7ffde
2 changed files with 3 additions and 3 deletions

View File

@ -304,7 +304,7 @@ Status BrokerScanNode::scanner_scan(const TBrokerScanRange& scan_range,
}
// This row batch has been filled up, and break this
if (row_batch->is_full() || row_batch->is_full_uncommited()) {
if (row_batch->is_full() || row_batch->is_full_uncommitted()) {
break;
}

View File

@ -158,8 +158,8 @@ public:
// Returns true if row_batch has reached capacity.
bool is_full() const { return _num_rows == _capacity; }
// Returns true if uncommited rows has reached capacity.
bool is_full_uncommited() { return _num_uncommitted_rows == _capacity; }
// Returns true if uncommitted rows has reached capacity.
bool is_full_uncommitted() { return _num_uncommitted_rows == _capacity; }
// Returns true if the row batch has accumulated enough external memory (in MemPools
// and io buffers). This would be a trigger to compact the row batch or reclaim