diff options
Diffstat (limited to 'innobase/include/ut0mem.h')
-rw-r--r-- | innobase/include/ut0mem.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/innobase/include/ut0mem.h b/innobase/include/ut0mem.h index ba6905a8618..ce8aabeca41 100644 --- a/innobase/include/ut0mem.h +++ b/innobase/include/ut0mem.h @@ -95,10 +95,17 @@ ut_str_catenate( /* out, own: catenated null-terminated string */ char* str1, /* in: null-terminated string */ char* str2); /* in: null-terminated string */ +/************************************************************************** +Checks if a null-terminated string contains a certain character. */ + +ibool +ut_str_contains( +/*============*/ + char* str, /* in: null-terminated string */ + char c); /* in: character */ #ifndef UNIV_NONINL #include "ut0mem.ic" #endif #endif - |