Commit 0ec715a6 authored by unknown's avatar unknown

NO_DEFAULT_VALUE_FLAG and BLOB_FLAG combined

parent f4cd03d0
......@@ -8487,8 +8487,8 @@ create_field::create_field(Field *old_field,Field *orig_field)
else
interval=0;
def=0;
if (!(flags & NO_DEFAULT_VALUE_FLAG) &&
!old_field->is_real_null() && ! (flags & BLOB_FLAG) &&
if (!(flags & (NO_DEFAULT_VALUE_FLAG | BLOB_FLAG)) &&
!old_field->is_real_null() &&
old_field->ptr && orig_field)
{
char buff[MAX_FIELD_WIDTH],*pos;
......
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