| 333 | } |
| 334 | |
| 335 | bool SQLBatchRequestResultSet::GetTime(uint32_t index, int64_t* mills) { |
| 336 | if (mills == NULL) { |
| 337 | LOG(WARNING) << "input ptr is null pointer"; |
| 338 | return false; |
| 339 | } |
| 340 | if (!IsValidColumnIdx(index)) { |
| 341 | LOG(WARNING) << "column idx out of bound " << index; |
| 342 | return false; |
| 343 | } |
| 344 | size_t mapped_index = column_remap_[index]; |
| 345 | int32_t ret; |
| 346 | if (IsCommonColumnIdx(index)) { |
| 347 | ret = common_row_view_->GetTimestamp(mapped_index, mills); |
| 348 | } else { |
| 349 | ret = non_common_row_view_->GetTimestamp(mapped_index, mills); |
| 350 | } |
| 351 | return ret == 0; |
| 352 | } |
| 353 | |
| 354 | } // namespace sdk |
| 355 | } // namespace fedb |
nothing calls this directly
no test coverage detected