3760
3760
temp_pool_slot = bitmap_lock_set_next(&temp_pool);
3762
3762
if (temp_pool_slot != MY_BIT_NONE) // we got a slot
3763
sprintf(path, "%s_%lx_%i", tmp_file_prefix,
3763
sprintf(path, "%s_%lx_%i", TMP_FILE_PREFIX,
3764
3764
current_pid, temp_pool_slot);
3767
3767
/* if we run out of slots or we are not using tempool */
3768
sprintf(path,"%s%lx_%"PRIx64"_%x", tmp_file_prefix,current_pid,
3768
sprintf(path,"%s%lx_%"PRIx64"_%x", TMP_FILE_PREFIX, current_pid,
3769
3769
session->thread_id, session->tmp_table++);