diff options
author | monty@mysql.com <> | 2005-04-06 17:22:21 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2005-04-06 17:22:21 +0300 |
commit | 49e721677f9eec2ae8e869dacc8acb522f72ef05 (patch) | |
tree | e94c78c8db8d7f6ca96a83d37f1af529688c9a72 /strings/decimal.c | |
parent | 48de1ff27744c996d7f3b63e4b75eeaeb96c9f0c (diff) | |
download | mariadb-git-49e721677f9eec2ae8e869dacc8acb522f72ef05.tar.gz |
Fixed errors descovered by valgrind 2.4
Added suppression file for some valgrind warnings that are not real errors
Diffstat (limited to 'strings/decimal.c')
-rw-r--r-- | strings/decimal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/decimal.c b/strings/decimal.c index 56dba61d887..9af95511f6d 100644 --- a/strings/decimal.c +++ b/strings/decimal.c @@ -806,7 +806,7 @@ internal_str2dec(const char *from, decimal_t *to, char **end, my_bool fixed) if (s < end_of_string && *s=='.') { endp= s+1; - while (s < end_of_string && my_isdigit(&my_charset_latin1, *endp)) + while (endp < end_of_string && my_isdigit(&my_charset_latin1, *endp)) endp++; frac= endp - s - 1; } |