mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
item_func.cc:
Some reoganization Fixed that binary arguments do not affect result charset anymore For example, the second argument doesn't affect charset of result in LEFT(string,10) sql_string.h: Strings are binary by default now sql/sql_string.h: Strings are binary by default now sql/item_func.cc: Some reoganization Fixed that binary arguments do not affect result charset anymore For example, the second argument doesn't affect charset of result in LEFT(string,10)
This commit is contained in:
@ -39,12 +39,12 @@ public:
|
||||
String()
|
||||
{
|
||||
Ptr=0; str_length=Alloced_length=0; alloced=0;
|
||||
str_charset=default_charset_info;
|
||||
str_charset= &my_charset_bin;
|
||||
}
|
||||
String(uint32 length_arg)
|
||||
{
|
||||
alloced=0; Alloced_length=0; (void) real_alloc(length_arg);
|
||||
str_charset=default_charset_info;
|
||||
str_charset= &my_charset_bin;
|
||||
}
|
||||
String(const char *str, CHARSET_INFO *cs)
|
||||
{
|
||||
|
Reference in New Issue
Block a user