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

Function collect_string

sql/sql_analyse.cc:1082–1095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080
1081
1082int collect_string(void *element_, element_count, void *info_)
1083{
1084 String *element= static_cast<String*>(element_);
1085 TREE_INFO *info= static_cast<TREE_INFO*>(info_);
1086 if (info->found)
1087 info->str->append(',');
1088 else
1089 info->found = 1;
1090 info->str->append('\'');
1091 if (info->str->append_for_single_quote(element))
1092 return 1;
1093 info->str->append('\'');
1094 return 0;
1095} // collect_string
1096
1097
1098int collect_real(void *element_, element_count, void *info_)

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected