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