3722
3722
if (temp_pool_slot != MY_BIT_NONE) // we got a slot
3723
3723
sprintf(path, "%s_%lx_%i", TMP_FILE_PREFIX,
3727
3727
/* if we run out of slots or we are not using tempool */
3728
sprintf(path,"%s%lx_%"PRIx64"_%x", TMP_FILE_PREFIX, current_pid,
3728
sprintf(path,"%s%lx_%"PRIx64"_%x", TMP_FILE_PREFIX, (unsigned long)current_pid,
3729
3729
session->thread_id, session->tmp_table++);