~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/syslog/logging.cc

  • Committer: Olaf van der Spek
  • Date: 2011-04-08 13:16:30 UTC
  • mto: (2275.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2276.
  • Revision ID: olafvdspek@gmail.com-20110408131630-n74bfuxq2y1ytd1x
Session Times

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    inside itself, so be more accurate, and so this doesnt have to
85
85
    keep calling current_utime, which can be slow.
86
86
  */
87
 
  uint64_t t_mark= session->getCurrentTimestamp(false);
 
87
  uint64_t t_mark= session->times.getCurrentTimestamp(false);
88
88
 
89
89
  // return if query was not too slow
90
90
  if (session->getElapsedTime() < _threshold_slow)