~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_query/logging_query.cc

  • Committer: Mark Atwood
  • Date: 2008-10-04 01:17:28 UTC
  • mto: (438.1.5 drizzle)
  • mto: This revision was merged to the branch mainline in revision 458.
  • Revision ID: mark@fallenpegasus.com-20081004011728-tggwpd0ugjtjnlo6
remove attempt to log time because my_micro_time no longer works

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
  msgbuf_len=
81
81
    snprintf(msgbuf, MAX_MSG_LEN,
82
82
             "log end thread_id=%ld query_id=%ld command=%.*s"
83
 
             " utime=%u rows.sent=%ld rows.exam=%u\n",
 
83
             " rows.sent=%ld rows.exam=%u\n",
84
84
             (unsigned long) thd->thread_id, 
85
85
             (unsigned long) thd->query_id,
86
86
             (uint32_t)command_name[thd->command].length, command_name[thd->command].str,
87
 
             (uint32_t)(thd->current_utime() - thd->start_utime),
88
87
             (unsigned long) thd->sent_row_count,
89
88
             (uint32_t) thd->examined_row_count);
90
89
  /* a single write has a OS level thread lock