~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/status_vars.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
Remove unused Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 * THE POSSIBILITY OF SUCH DAMAGE.
28
28
 */
29
29
 
30
 
#include "config.h"
 
30
#include <config.h>
31
31
#include <drizzled/plugin.h>
32
32
#include <drizzled/statistics_variables.h>
33
33
#include <drizzled/session.h>
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)