1 #ifndef SQL_TMP_TABLE_INCLUDED
2 #define SQL_TMP_TABLE_INCLUDED
28 #include "sql_class.h"
36 class TMP_TABLE_PARAM;
41 create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,
List<Item> &fields,
42 ORDER *
group,
bool distinct,
bool save_sum_fields,
43 ulonglong select_options, ha_rows rows_limit,
44 const char *table_alias);
54 bool create_myisam_from_heap(THD *thd,
TABLE *
table,
57 int error,
bool ignore_last_dup,
60 TABLE *create_duplicate_weedout_tmp_table(THD *thd,
61 uint uniq_tuple_length_arg,
66 ulonglong options, my_bool big_tables,
70 Field **default_field,
71 bool group,
bool modify_item,
72 bool table_cant_handle_bit_fields,
73 bool make_copy_field);
74 Field* create_tmp_field_from_field(THD *thd,
Field* org_field,