update comments

This commit is contained in:
CurtizJ 2019-08-23 14:13:57 +03:00
parent 811dab72a8
commit 5e6ea650eb
2 changed files with 2 additions and 1 deletions

View File

@ -227,6 +227,7 @@ Block FillingBlockInputStream::readImpl()
if (!filling_row.getFillDescription(i).fill_from.isNull() && if (!filling_row.getFillDescription(i).fill_from.isNull() &&
less(filling_row.getFillDescription(i).fill_from, (*old_fill_columns[i])[0], filling_row.getDirection(i))) less(filling_row.getFillDescription(i).fill_from, (*old_fill_columns[i])[0], filling_row.getDirection(i)))
{ {
/// Insert filling row, if it's less than first row in block, because of set 'fill_from' value.
filling_row.initFromDefaults(i); filling_row.initFromDefaults(i);
insertFromFillingRow(res_fill_columns, res_other_columns, filling_row); insertFromFillingRow(res_fill_columns, res_other_columns, filling_row);
break; break;

View File

@ -10,7 +10,7 @@ class FillingRow
public: public:
FillingRow(const SortDescription & sort_description); FillingRow(const SortDescription & sort_description);
/// Generates next row according to fill from, to and step values. /// Generates next row according to fill 'from', 'to' and 'step' values.
/// Returns true, if generated row less than to_row in terms of sorting order. /// Returns true, if generated row less than to_row in terms of sorting order.
bool next(const FillingRow & to_row); bool next(const FillingRow & to_row);