mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
USER, DATABASE and VERSION functions returns now IMPLICIT coercibility
This commit is contained in:
parent
bf71feca00
commit
1ad3551835
2 changed files with 3 additions and 3 deletions
|
|
@ -437,7 +437,7 @@ Item *create_func_version(void)
|
|||
{
|
||||
return new Item_string(NullS,server_version,
|
||||
(uint) strlen(server_version),
|
||||
system_charset_info);
|
||||
system_charset_info, Item::COER_IMPLICIT);
|
||||
}
|
||||
|
||||
Item *create_func_weekday(Item* a)
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ public:
|
|||
class Item_func_database :public Item_str_func
|
||||
{
|
||||
public:
|
||||
Item_func_database() {}
|
||||
Item_func_database() { coercibility= COER_IMPLICIT; }
|
||||
String *val_str(String *);
|
||||
void fix_length_and_dec()
|
||||
{
|
||||
|
|
@ -346,7 +346,7 @@ public:
|
|||
class Item_func_user :public Item_str_func
|
||||
{
|
||||
public:
|
||||
Item_func_user() {}
|
||||
Item_func_user() { coercibility= COER_IMPLICIT; }
|
||||
String *val_str(String *);
|
||||
void fix_length_and_dec()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue