Remove unnecessary assert

Approved by: Heikki, over IM
This commit is contained in:
michael 2008-10-29 17:20:10 +00:00
parent f3d875b2b8
commit 4c7b3cb739

View file

@ -175,20 +175,11 @@ ut_fold_string(
/* out: folded value */
const char* str) /* in: null-terminated string */
{
#ifdef UNIV_DEBUG
ulint i = 0;
#endif
ulint fold = 0;
ut_ad(str);
while (*str != '\0') {
#ifdef UNIV_DEBUG
i++;
ut_a(i < 100);
#endif
fold = ut_fold_ulint_pair(fold, (ulint)(*str));
str++;
}