1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Use always base "10" to remove base guesser in strntoul() implementation

strings/ctype-simple.c:
  Hide unused code
strings/ctype-utf8.c:
  Hide unused code
This commit is contained in:
unknown
2003-01-17 13:17:22 +04:00
parent 57ab67de6b
commit e6c2ca3131
3 changed files with 42 additions and 10 deletions

View File

@ -4066,7 +4066,7 @@ static int cs_value(MY_XML_PARSER *st,const char *attr, uint len)
switch (state) {
case _CS_ID:
i->cs.number= my_strntoul(my_charset_latin1,attr,len,0,(char**)NULL,&err);
i->cs.number= my_strntoul(my_charset_latin1,attr,len,10,(char**)NULL,&err);
break;
case _CS_COLNAME:
i->cs.name=mstr(i->name,attr,len,MY_CS_NAME_SIZE-1);