summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2003-01-28 00:33:04 +0100
committerunknown <serg@serg.mysql.com>2003-01-28 00:33:04 +0100
commitf76a875e61e377090dc21cd08ec6f88fb526ffc1 (patch)
tree41acfaeece70488735699f9bc8188b7c29c7498e
parente95e9066832a98f3fe16e9667e6ac5b706c5ba98 (diff)
downloadmariadb-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.c2
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;