~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/scoreboard.h

Merge Joe, plus I updated the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  ScoreboardSlot* findScoreboardSlotToLog(drizzled::Session *session);
57
57
 
58
58
  /**
59
 
   * Resets the ScoreboardSlot this session was using. The pointer
60
 
   * returned is a copy of the ScoreboardSlot that has now been
61
 
   * reclaimed. This must be deallocated by the caller, when the caller
62
 
   * is finished. This allows cumulative collection of statistics.  
63
 
   * 
64
 
   * @param Pointer to the session
65
 
   * @return Pointer to a copy of the ScoreboardSlot that has been
66
 
   *   reclaimed
67
 
   */
68
 
  ScoreboardSlot* findAndResetScoreboardSlot(drizzled::Session *session);
69
 
 
70
 
  /**
71
59
   * Finds the ScoreboardSlot for a given session. This function differs
72
60
   * from findAndResetScoreboardSlot() as it returns the actual pointer
73
61
   * rather then a copy. Its possible that values could be changed in