| 44 | } |
| 45 | |
| 46 | string GetTablesMissingStatsWarning(const vector<TTableName>& tables_missing_stats) { |
| 47 | stringstream ss; |
| 48 | if (tables_missing_stats.empty()) return string(""); |
| 49 | ss << "WARNING: The following tables are missing relevant table and/or column " |
| 50 | << "statistics.\n" << PrintTableList(tables_missing_stats); |
| 51 | return ss.str(); |
| 52 | } |
| 53 | |
| 54 | void PrintErrorMap(ostream* stream, const ErrorLogMap& errors) { |
| 55 | for (const ErrorLogMap::value_type& v: errors) { |
no test coverage detected