~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Joseph Daly
  • Date: 2010-08-09 00:00:11 UTC
  • mto: (1698.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1699.
  • Revision ID: jdaly@rx7-20100809000011-fd17skydw7zcrtb9
remove increment calls

Show diffs side-by-side

added added

removed removed

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