Commit 2c873703 authored by serg@serg.mylan's avatar serg@serg.mylan

Merge bk-internal.mysql.com:/home/bk/mysql-4.1/

into serg.mylan:/usr/home/serg/Abk/mysql-4.1
parents 8b7e07e0 0452d59d
...@@ -362,6 +362,7 @@ class Item_func_database :public Item_str_func ...@@ -362,6 +362,7 @@ class Item_func_database :public Item_str_func
void fix_length_and_dec() void fix_length_and_dec()
{ {
max_length= MAX_FIELD_NAME * system_charset_info->mbmaxlen; max_length= MAX_FIELD_NAME * system_charset_info->mbmaxlen;
maybe_null=1;
} }
const char *func_name() const { return "database"; } const char *func_name() const { return "database"; }
}; };
......
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