Commit bc7a0549 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

do not ignore first char, when truncating spaces in str->num conversion.

parent 17142f39
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment