| 1518 | } |
| 1519 | |
| 1520 | Status ClientRequestState::UpdateQueryStatus(const Status& status, bool log_error) { |
| 1521 | // Preserve the first non-ok status |
| 1522 | if (!status.ok() && query_status_.ok()) { |
| 1523 | UpdateExecState(ExecState::ERROR); |
| 1524 | query_status_ = status; |
| 1525 | summary_profile_->AddInfoStringRedacted(QUERY_STATUS_KEY, query_status_.GetDetail()); |
| 1526 | if (log_error) VLOG_QUERY << status.GetDetail(); |
| 1527 | } |
| 1528 | |
| 1529 | return status; |
| 1530 | } |
| 1531 | |
| 1532 | Status ClientRequestState::FetchRowsInternal(const int32_t max_rows, |
| 1533 | QueryResultSet* fetched_rows, int64_t block_on_wait_time_us) { |
no test coverage detected