~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to plugin/logging_gearman/logging_gearman.cc

  • Committer: Jay Pipes
  • Date: 2009-08-03 14:23:22 UTC
  • mfrom: (1039.2.68 staging)
  • mto: This revision was merged to the branch mainline in revision 1078.
  • Revision ID: jpipes@serialcoder-20090803142322-1g67h7su9mocg9ig
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
    if (!gearman_client_ok)
226
226
        return false;
227
227
  
228
 
    /* TODO, looks like connect_utime isnt being set in the session
229
 
       object.  We could store the time this plugin was loaded, but that
230
 
       would just be a dumb workaround. */
231
228
    /* TODO, the session object should have a "utime command completed"
232
229
       inside itself, so be more accurate, and so this doesnt have to
233
230
       keep calling current_utime, which can be slow */
263
260
               (int)command_name[session->command].length,
264
261
               command_name[session->command].str,
265
262
               // counters are at end, to make it easier to add more
266
 
               (t_mark - session->connect_utime),
 
263
               (t_mark - session->getConnectMicroseconds()),
267
264
               (t_mark - session->start_utime),
268
265
               (t_mark - session->utime_after_lock),
269
266
               session->sent_row_count,