790
790
#define AVG_STRING_LENGTH_TO_PACK_ROWS 64
791
791
#define RATIO_TO_PACK_ROWS 2
795
snprintf(path, FN_REFLEN, "%s%lx_%"PRIx64"_%x", TMP_FILE_PREFIX, (unsigned long)current_pid,
798
internal::fn_format(path, path, drizzle_tmpdir.c_str(), "", MY_REPLACE_EXT|MY_UNPACK_FILENAME);
802
794
create_tmp_table(Session *session,Tmp_Table_Param *param,List<Item> &fields,
803
795
order_st *group, bool distinct, bool save_sum_fields,