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/row | |
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/row')
-rw-r--r-- | innobase/row/row0mysql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index ab73dc2ad6d..693928dea3e 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -2362,7 +2362,7 @@ row_rename_table_for_mysql( db_name, constraints_to_drop[i], db_name, constraints_to_drop[i]); - if (!ut_str_contains(constraints_to_drop[i], '/')) { + if (!strchr(constraints_to_drop[i], '/')) { /* If this happens to be an old format constraint, let us delete it. Since all new format constraints contain '/', it does no |