Merge code to github (#187)

* merge to 95787f8be1fd0ff215708fb0f49997b632876586
* Bugs fixed
This commit is contained in:
morningman
2018-03-23 14:04:55 +08:00
committed by GitHub
parent b8fa22ddd3
commit 5de798fdd6
133 changed files with 1717 additions and 5592 deletions

View File

@ -356,6 +356,12 @@ void RowBatch::transfer_resource_ownership(RowBatch* dest) {
if (!config::enable_partitioned_aggregation) {
_tuple_ptrs = NULL;
}
if (_needs_deep_copy) {
dest->mark_needs_deep_copy();
} else if (_flush == FlushMode::FLUSH_RESOURCES) {
dest->mark_flush_resources();
}
reset();
}