16 #include "mysys_priv.h"
33 my_bool array_append_string_unique(
const char *str,
34 const char **array,
size_t size)
38 const char **end= array + size - 1;
39 DBUG_ASSERT(*end == NULL);
41 for (p= array; *p; ++p)
43 if (strcmp(*p, str) == 0)
49 DBUG_ASSERT(*p == NULL || strcmp(*p, str) == 0);