| 481 | } |
| 482 | |
| 483 | void DmlExecState::ToProto(DmlExecStatusPB* dml_status) { |
| 484 | dml_status->Clear(); |
| 485 | lock_guard<mutex> l(lock_); |
| 486 | for (const PartitionStatusMap::value_type& part : per_partition_status_) { |
| 487 | (*dml_status->mutable_per_partition_status())[part.first] = part.second; |
| 488 | } |
| 489 | *dml_status->mutable_data_files_referenced_by_position_deletes() = |
| 490 | {data_files_referenced_by_position_deletes_.begin(), |
| 491 | data_files_referenced_by_position_deletes_.end()}; |
| 492 | } |
| 493 | |
| 494 | void DmlExecState::ToTDmlResult(TDmlResult* dml_result) { |
| 495 | lock_guard<mutex> l(lock_); |
no test coverage detected