~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Joe Daly
  • Date: 2010-06-25 03:22:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1656.
  • Revision ID: skinny.moey@gmail.com-20100625032255-bzj84xre67qldfpi
initial user stats impl

Show diffs side-by-side

added added

removed removed

Lines of Context:
712
712
 
713
713
void mysql_parse(Session *session, const char *inBuf, uint32_t length)
714
714
{
 
715
  uint64_t start_time= my_getsystime();
715
716
  lex_start(session);
716
717
  session->reset_for_next_command();
717
718
 
751
752
  session->set_proc_info("freeing items");
752
753
  session->end_statement();
753
754
  session->cleanup_after_query();
 
755
  session->status_var.execution_time_nsec+= my_getsystime() - start_time;
754
756
}
755
757
 
756
758