| 328 | } |
| 329 | |
| 330 | void Explain_query::send_explain_json_to_output(Json_writer *writer, |
| 331 | select_result_sink *output) |
| 332 | { |
| 333 | CHARSET_INFO *cs= system_charset_info; |
| 334 | List<Item> item_list; |
| 335 | const String *buf= writer->output.get_string(); |
| 336 | THD *thd= output->thd; |
| 337 | item_list.push_back(new (thd->mem_root) |
| 338 | Item_string(thd, buf->ptr(), buf->length(), cs), |
| 339 | thd->mem_root); |
| 340 | output->send_data(item_list); |
| 341 | } |
| 342 | |
| 343 | bool print_explain_for_slow_log(LEX *lex, THD *thd, String *str) |
| 344 | { |
nothing calls this directly
no test coverage detected