| 182 | } |
| 183 | |
| 184 | bool SQLBatchRequestResultSet::GetBool(uint32_t index, bool* val) { |
| 185 | if (val == NULL) { |
| 186 | LOG(WARNING) << "input ptr is null pointer"; |
| 187 | return false; |
| 188 | } |
| 189 | if (!IsValidColumnIdx(index)) { |
| 190 | LOG(WARNING) << "column idx out of bound " << index; |
| 191 | return false; |
| 192 | } |
| 193 | size_t mapped_index = column_remap_[index]; |
| 194 | int32_t ret; |
| 195 | if (IsCommonColumnIdx(index)) { |
| 196 | ret = common_row_view_->GetBool(mapped_index, val); |
| 197 | } else { |
| 198 | ret = non_common_row_view_->GetBool(mapped_index, val); |
| 199 | } |
| 200 | return ret == 0; |
| 201 | } |
| 202 | |
| 203 | bool SQLBatchRequestResultSet::GetChar(uint32_t index, char* result) { return false; } |
| 204 |
nothing calls this directly
no outgoing calls
no test coverage detected