| 380 | } |
| 381 | |
| 382 | static void push_string_list(THD *thd, List<Item> *item_list, |
| 383 | String_list &lines, String *buf) |
| 384 | { |
| 385 | List_iterator_fast<char> it(lines); |
| 386 | char *line; |
| 387 | bool first= true; |
| 388 | while ((line= it++)) |
| 389 | { |
| 390 | if (first) |
| 391 | first= false; |
| 392 | else |
| 393 | buf->append(','); |
| 394 | |
| 395 | buf->append(line, strlen(line)); |
| 396 | } |
| 397 | push_string(thd, item_list, buf); |
| 398 | } |
| 399 | |
| 400 | |
| 401 | /* |
no test coverage detected