diff options
author | unknown <serg@serg.mysql.com> | 2003-01-28 00:33:04 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2003-01-28 00:33:04 +0100 |
commit | f76a875e61e377090dc21cd08ec6f88fb526ffc1 (patch) | |
tree | 41acfaeece70488735699f9bc8188b7c29c7498e | |
parent | e95e9066832a98f3fe16e9667e6ac5b706c5ba98 (diff) | |
download | mariadb-git-f76a875e61e377090dc21cd08ec6f88fb526ffc1.tar.gz |
do not ignore first char, when truncating spaces in str->num conversion.
strings/ctype-simple.c:
do not ignore first char, when truncating spaces.
-rw-r--r-- | strings/ctype-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c index e028a027484..aaa98fd4df2 100644 --- a/strings/ctype-simple.c +++ b/strings/ctype-simple.c @@ -1000,7 +1000,7 @@ ulong my_scan_8bit(CHARSET_INFO *cs, const char *str, const char *end, int sq) return 0; case MY_SEQ_SPACES: - for (str++ ; str != end ; str++) + for (; str != end ; str++) { if (!my_isspace(cs,*str)) break; |