mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.1-maint-greener
This commit is contained in:
10
sql/field.cc
10
sql/field.cc
@ -8030,6 +8030,16 @@ void Field_enum::sql_type(String &res) const
|
||||
}
|
||||
|
||||
|
||||
Field *Field_enum::new_field(MEM_ROOT *root, struct st_table *new_table,
|
||||
bool keep_type)
|
||||
{
|
||||
Field_enum *res= (Field_enum*) Field::new_field(root, new_table, keep_type);
|
||||
if (res)
|
||||
res->typelib= copy_typelib(root, typelib);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
set type.
|
||||
This is a string which can have a collection of different values.
|
||||
|
Reference in New Issue
Block a user