mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Now this syntax works too: CONVERT(string,charset_to,charset_from)
where charset_to and charset_from are expressions. For example: CONVERT('test','latin2','cp1250')
This commit is contained in:
@@ -489,6 +489,16 @@ public:
|
||||
const char *func_name() const { return "conv_charset"; }
|
||||
};
|
||||
|
||||
class Item_func_conv_charset3 :public Item_str_func
|
||||
{
|
||||
public:
|
||||
Item_func_conv_charset3(Item *arg1,Item *arg2,Item *arg3)
|
||||
:Item_str_func(arg1,arg2,arg3) {}
|
||||
String *val_str(String *);
|
||||
void fix_length_and_dec();
|
||||
const char *func_name() const { return "conv_charset3"; }
|
||||
};
|
||||
|
||||
|
||||
/*******************************************************
|
||||
Spatial functions
|
||||
|
Reference in New Issue
Block a user