32 #include <drizzled/plugin.h>
33 #include "global_stats.h"
35 GlobalStats::GlobalStats()
40 GlobalStats::GlobalStats(
const GlobalStats &global_stats)
42 user_commands=
new UserCommands(*global_stats.user_commands);
45 GlobalStats::~GlobalStats()
57 user_commands->merge(global_stats->getUserCommands());
60 void GlobalStats::updateUserCommands(
ScoreboardSlot *scoreboard_slot)
62 user_commands->merge(scoreboard_slot->getUserCommands());