diff options
author | unknown <marko@hundin.mysql.fi> | 2004-03-31 11:26:56 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2004-03-31 11:26:56 +0300 |
commit | 7c9dba225113c4c0c891a17f88492edeffbc0471 (patch) | |
tree | 949265f6e4c66c8760da61187b436231f22f924d /innobase/include | |
parent | 19b727adac9eb98dc10b09437965352b33cb42dc (diff) | |
download | mariadb-git-7c9dba225113c4c0c891a17f88492edeffbc0471.tar.gz |
InnoDB: Remove ut_str_contains() and replace it with strchr()
innobase/dict/dict0dict.c:
Replace ut_str_contains() with strchr()
innobase/include/ut0mem.h:
Remove ut_str_contains(), a reinvented strchr()
innobase/row/row0mysql.c:
Replace ut_str_contains() with strchr()
innobase/ut/ut0mem.c:
Remove ut_str_contains(), a reinvented strchr()
Diffstat (limited to 'innobase/include')
-rw-r--r-- | innobase/include/ut0mem.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/innobase/include/ut0mem.h b/innobase/include/ut0mem.h index fea6fc243d8..13ee8d5f5fa 100644 --- a/innobase/include/ut0mem.h +++ b/innobase/include/ut0mem.h @@ -85,14 +85,6 @@ 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" |