123
122
tmp_table_param.field_count= column_types->elements;
124
123
tmp_table_param.bit_fields_as_long= bit_fields_as_long;
126
if (! (table= create_tmp_table(thd_arg, &tmp_table_param, *column_types,
125
if (! (table= create_tmp_table(session_arg, &tmp_table_param, *column_types,
127
126
(order_st*) 0, is_union_distinct, 1,
128
127
options, HA_POS_ERROR, (char*) table_alias)))