Commit 0452d59d authored by serg@serg.mylan's avatar serg@serg.mylan

in 4.1 DATABASE() may be NULL

parent 3362bbf8
......@@ -362,6 +362,7 @@ public:
void fix_length_and_dec()
{
max_length= MAX_FIELD_NAME * system_charset_info->mbmaxlen;
maybe_null=1;
}
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