diff options
author | Alexander Barkov <bar@mnogosearch.org> | 2014-11-18 13:07:37 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mnogosearch.org> | 2014-11-18 13:07:37 +0400 |
commit | 807934d08345c69ae31e0a0a1fcf7c92431d6204 (patch) | |
tree | 9bc2c3b0faf2a7202fd095eb5d3355ae0774b0ad /strings/ctype-bin.c | |
parent | 4d882329a998b7955cf164b5ff687e623d25bbb5 (diff) | |
download | mariadb-git-807934d08345c69ae31e0a0a1fcf7c92431d6204.tar.gz |
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.
Diffstat (limited to 'strings/ctype-bin.c')
-rw-r--r-- | strings/ctype-bin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-bin.c b/strings/ctype-bin.c index 3ca4ba2b430..2e699db0bd3 100644 --- a/strings/ctype-bin.c +++ b/strings/ctype-bin.c @@ -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); } } |