summaryrefslogtreecommitdiff
path: root/innobase/row/row0mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/row/row0mysql.c')
-rw-r--r--innobase/row/row0mysql.c2
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