mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
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:
parent
4d882329a9
commit
807934d083
3 changed files with 16 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue