MCPcopy Create free account
hub / github.com/MariaDB/server / push_string_list

Function push_string_list

sql/sql_explain.cc:382–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382static 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/*

Callers 2

print_explain_rowFunction · 0.85
print_explainMethod · 0.85

Calls 2

push_stringFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected