Commit 1ad35518 authored by unknown's avatar unknown

USER, DATABASE and VERSION functions returns now IMPLICIT coercibility

parent bf71feca
...@@ -437,7 +437,7 @@ Item *create_func_version(void) ...@@ -437,7 +437,7 @@ Item *create_func_version(void)
{ {
return new Item_string(NullS,server_version, return new Item_string(NullS,server_version,
(uint) strlen(server_version), (uint) strlen(server_version),
system_charset_info); system_charset_info, Item::COER_IMPLICIT);
} }
Item *create_func_weekday(Item* a) Item *create_func_weekday(Item* a)
......
...@@ -333,7 +333,7 @@ public: ...@@ -333,7 +333,7 @@ public:
class Item_func_database :public Item_str_func class Item_func_database :public Item_str_func
{ {
public: public:
Item_func_database() {} Item_func_database() { coercibility= COER_IMPLICIT; }
String *val_str(String *); String *val_str(String *);
void fix_length_and_dec() void fix_length_and_dec()
{ {
...@@ -346,7 +346,7 @@ public: ...@@ -346,7 +346,7 @@ public:
class Item_func_user :public Item_str_func class Item_func_user :public Item_str_func
{ {
public: public:
Item_func_user() {} Item_func_user() { coercibility= COER_IMPLICIT; }
String *val_str(String *); String *val_str(String *);
void fix_length_and_dec() void fix_length_and_dec()
{ {
......
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