10585
10585
new_field->flags|= (org_field->flags & NO_DEFAULT_VALUE_FLAG);
10586
10586
if (org_field->maybe_null() || (item && item->maybe_null))
10587
10587
new_field->flags&= ~NOT_NULL_FLAG; // Because of outer join
10590
10589
table->s->db_create_options|= HA_OPTION_PACK_RECORD;
10591
10590
else if (org_field->type() == DRIZZLE_TYPE_DOUBLE)
10592
10591
((Field_double *) new_field)->not_fixed= true;