~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2009-03-20 05:35:22 UTC
  • Revision ID: brian@tangent.org-20090320053522-x6m109899yixni24
Remove bad variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
    query_id.next();
226
226
  }
227
227
 
228
 
  thread_running++;
229
228
  /* TODO: set session->lex->sql_command to SQLCOM_END here */
230
229
  pthread_mutex_unlock(&LOCK_thread_count);
231
230
 
352
351
  session->command=COM_SLEEP;
353
352
  session->query=0;
354
353
  session->query_length=0;
355
 
  thread_running--;
356
354
  pthread_mutex_unlock(&LOCK_thread_count);
357
355
  session->packet.shrink(session->variables.net_buffer_length); // Reclaim some memory
358
356
  free_root(session->mem_root,MYF(MY_KEEP_PREALLOC));