mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
All charsets now have strnxfrm.
Some function names have been renamed to be more self-descriptive
This commit is contained in:
@ -100,7 +100,7 @@ bool String::set(longlong num, CHARSET_INFO *cs)
|
||||
|
||||
if (alloc(l))
|
||||
return TRUE;
|
||||
str_length=(uint32) cs->ll10tostr(cs,Ptr,l,-10,num);
|
||||
str_length=(uint32) cs->longlong10_to_str(cs,Ptr,l,-10,num);
|
||||
str_charset=cs;
|
||||
return FALSE;
|
||||
}
|
||||
@ -111,7 +111,7 @@ bool String::set(ulonglong num, CHARSET_INFO *cs)
|
||||
|
||||
if (alloc(l))
|
||||
return TRUE;
|
||||
str_length=(uint32) cs->ll10tostr(cs,Ptr,l,10,num);
|
||||
str_length=(uint32) cs->longlong10_to_str(cs,Ptr,l,10,num);
|
||||
str_charset=cs;
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user