~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Brian Aker
  • Date: 2008-11-24 16:27:10 UTC
  • Revision ID: brian@tangent.org-20081124162710-8gusydle39009rkq
Remove dead lex structure and clean up use of pid_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
3721
3721
 
3722
3722
  if (temp_pool_slot != MY_BIT_NONE) // we got a slot
3723
3723
    sprintf(path, "%s_%lx_%i", TMP_FILE_PREFIX,
3724
 
            current_pid, temp_pool_slot);
 
3724
            (unsigned long)current_pid, temp_pool_slot);
3725
3725
  else
3726
3726
  {
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++);
3730
3730
  }
3731
3731