MDEV-7086 main.ctype_cp932 fails in buildbot on a valgrind build

Removing a redundant and wrong condition which could access beyond
the pattern string range.
This commit is contained in:
Alexander Barkov 2014-11-18 13:07:37 +04:00
commit 807934d083
3 changed files with 16 additions and 5 deletions

View file

@ -395,7 +395,7 @@ int my_wildcmp_bin_impl(CHARSET_INFO *cs,
if (tmp <= 0)
return(tmp);
}
} while (str != str_end && wildstr[0] != w_many);
} while (str != str_end);
return(-1);
}
}