~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/status_vars.cc

  • Committer: Mark Atwood
  • Date: 2011-05-03 06:15:46 UTC
  • mfrom: (2280.1.10 prune3)
  • Revision ID: me@mark.atwood.name-20110503061546-1anpohbzcy1tzmc7
mergeĀ lp:~olafvdspek/drizzle/prune3

Show diffs side-by-side

added added

removed removed

Lines of Context:
109
109
  /* check bytes received if its lower then a flush has occurred */
110
110
  uint64_t current_bytes_received= current_status_var->bytes_received;
111
111
  uint64_t my_bytes_received= status_var_counters->bytes_received;
112
 
  if (current_bytes_received < my_bytes_received)
113
 
  {
114
 
    return true;
115
 
  }
116
 
  else 
117
 
  {
118
 
    return false;
119
 
  }
 
112
  return current_bytes_received < my_bytes_received;
120
113
}
121
114
 
122
115
void StatusVars::copyGlobalVariables(StatusVars *global_status_vars)