1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-21392 Cleanup redundant overriding in Item_sum_num

This commit is contained in:
Alexander Barkov
2019-12-25 12:23:24 +04:00
parent b21dc11986
commit ee9a19fb05
4 changed files with 156 additions and 133 deletions

View File

@ -1779,11 +1779,7 @@ protected:
List_iterator_fast<Item_sum> it(sum_functions);
Item_sum* item;
while ((item= it++))
{
Item_sum_window_with_row_count* item_with_row_count =
static_cast<Item_sum_window_with_row_count *>(item);
item_with_row_count->set_row_count(num_rows_in_partition);
}
item->set_partition_row_count(num_rows_in_partition);
}
};