81
80
STEP 1: Get temporary table name
83
82
statistic_increment(session->status_var.created_tmp_tables, &LOCK_status);
88
sprintf(path, "%s_%lx_%i", TMP_FILE_PREFIX,
93
sprintf(path,"%s%lx_%"PRIx64"_%x", TMP_FILE_PREFIX, (unsigned long)current_pid,
85
sprintf(path,"%s%lx_%"PRIx64"_%x", TMP_FILE_PREFIX, (unsigned long)current_pid,
96
87
fn_format(path, path, drizzle_tmpdir, "", MY_REPLACE_EXT|MY_UNPACK_FILENAME);
98
89
/* STEP 2: Figure if we'll be using a key or blob+constraint */