MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / get_word

Function get_word

extra/comp_err.c:846–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

844/* Read the word starting from *str */
845
846static char *get_word(char **str)
847{
848 char *start= *str;
849 DBUG_ENTER("get_word");
850
851 *str= find_end_of_word(start);
852 DBUG_RETURN(my_strndup(start, (uint) (*str - start),
853 MYF(MY_WME | MY_FAE)));
854}
855
856
857/*

Callers 5

parse_error_offsetFunction · 0.85
parse_default_languageFunction · 0.85
parse_padd_stringFunction · 0.85
parse_error_stringFunction · 0.85
parse_charset_stringFunction · 0.85

Calls 2

find_end_of_wordFunction · 0.85
my_strndupFunction · 0.85

Tested by

no test coverage detected