| 294 | } |
| 295 | |
| 296 | bool SQLBatchRequestResultSet::GetDate(uint32_t index, int32_t* date) { |
| 297 | if (date == NULL) { |
| 298 | LOG(WARNING) << "input ptr is null pointer"; |
| 299 | return false; |
| 300 | } |
| 301 | if (!IsValidColumnIdx(index)) { |
| 302 | LOG(WARNING) << "column idx out of bound " << index; |
| 303 | return false; |
| 304 | } |
| 305 | size_t mapped_index = column_remap_[index]; |
| 306 | int32_t ret; |
| 307 | if (IsCommonColumnIdx(index)) { |
| 308 | ret = common_row_view_->GetDate(mapped_index, date); |
| 309 | } else { |
| 310 | ret = non_common_row_view_->GetDate(mapped_index, date); |
| 311 | } |
| 312 | return ret == 0; |
| 313 | } |
| 314 | |
| 315 | bool SQLBatchRequestResultSet::GetDate(uint32_t index, int32_t* year, int32_t* month, |
| 316 | int32_t* day) { |
nothing calls this directly
no outgoing calls
no test coverage detected