1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

merge of the fix for bug 27802 & 27216 to 5.1-opt

This commit is contained in:
gkodinov/kgeorge@magare.gmz
2007-09-26 19:06:54 +03:00
parent 133175fb9f
commit d0b796bf14
6 changed files with 36 additions and 37 deletions

View File

@ -3315,7 +3315,7 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
if (item->result_type() != STRING_RESULT)
field= item->tmp_table_field(&tmp_table);
else
field= item->tmp_table_field_from_field_type(&tmp_table);
field= item->tmp_table_field_from_field_type(&tmp_table, 0);
else
field= create_tmp_field(thd, &tmp_table, item, item->type(),
(Item ***) 0, &tmp_field, &def_field, 0, 0, 0, 0,