summaryrefslogtreecommitdiff
path: root/sql/strfunc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/strfunc.cc')
-rw-r--r--sql/strfunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/strfunc.cc b/sql/strfunc.cc
index 6c8fd24f780..660ba248597 100644
--- a/sql/strfunc.cc
+++ b/sql/strfunc.cc
@@ -72,7 +72,7 @@ ulonglong find_set(const TYPELIB *lib,
if ((mblen= cs->mb_wc(&wc, (const uchar *) pos,
(const uchar *) end)) < 1)
mblen= 1; // Not to hang on a wrong multibyte sequence
- if (wc == (my_wc_t) field_separator)
+ else if (wc == (my_wc_t) field_separator)
break;
}
}