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