~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

Merge Joe - remove the increment wrapper calls in my_pthread.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
    break;
184
184
  /* Increase id and count all other statements. */
185
185
  default:
186
 
    statistic_increment(session->status_var.questions, NULL);
 
186
    session->status_var.questions++;
187
187
    query_id.next();
188
188
  }
189
189
 
232
232
    break;
233
233
  case COM_SHUTDOWN:
234
234
  {
235
 
    status_var_increment(session->status_var.com_other);
 
235
    session->status_var.com_other++;
236
236
    session->my_eof();
237
237
    session->close_thread_tables();                     // Free before kill
238
238
    kill_drizzle();
240
240
    break;
241
241
  }
242
242
  case COM_PING:
243
 
    status_var_increment(session->status_var.com_other);
 
243
    session->status_var.com_other++;
244
244
    session->my_ok();                           // Tell client we are alive
245
245
    break;
246
246
  case COM_SLEEP: