| 181 | |
| 182 | |
| 183 | void XMLRowOutputFormat::finalizeImpl() |
| 184 | { |
| 185 | writeCString("\t<rows>", *ostr); |
| 186 | writeIntText(row_count, *ostr); |
| 187 | writeCString("</rows>\n", *ostr); |
| 188 | |
| 189 | |
| 190 | writeRowsBeforeLimitAtLeast(); |
| 191 | writeRowsBeforeAggregationAtLeast(); |
| 192 | |
| 193 | if (!exception_message.empty()) |
| 194 | writeException(); |
| 195 | else if (format_settings.write_statistics) |
| 196 | writeStatistics(); |
| 197 | |
| 198 | writeCString("</result>\n", *ostr); |
| 199 | ostr->next(); |
| 200 | } |
| 201 | |
| 202 | void XMLRowOutputFormat::resetFormatterImpl() |
| 203 | { |
nothing calls this directly
no test coverage detected