~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/status_tool.cc

  • Committer: Joe Daly
  • Date: 2010-06-25 03:22:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1656.
  • Revision ID: skinny.moey@gmail.com-20100625032255-bzj84xre67qldfpi
initial user stats impl

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
 
117
117
    if (scoreboard_slot != NULL)
118
118
    {
119
 
      status_var_to_display= scoreboard_slot->getStatusVars();
 
119
      status_var_to_display= new StatusVars(*scoreboard_slot->getStatusVars());
 
120
      CumulativeStats *cumulativeStats= logging_stats->getCumulativeStats();
 
121
      cumulativeStats->sumCurrentScoreboard(logging_stats->getCurrentScoreboard(), status_var_to_display, NULL);
 
122
      status_var_to_display->copyGlobalVariables(logging_stats->getCumulativeStats()->getGlobalStatusVars());
120
123
    } 
121
124
    else 
122
125
    {