Commit 4b169cd7 authored by Sergei Golubchik's avatar Sergei Golubchik

bugfix: CREATE .. SELECT should not pass engine defined

field options from SELECT clause to CREATE
parent 45912599
......@@ -14369,6 +14369,8 @@ Field *create_tmp_field_from_field(THD *thd, Field *org_field,
new_field->stored_in_db= TRUE;
new_field->cond_selectivity= 1.0;
new_field->next_equal_field= NULL;
new_field->option_list= NULL;
new_field->option_struct= NULL;
}
return new_field;
}
......
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