~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/logging_stats/logging_stats.cc

  • Committer: Brian Aker
  • Date: 2011-02-04 09:29:39 UTC
  • mfrom: (2139.3.6 catalogs)
  • mto: This revision was merged to the branch mainline in revision 2144.
  • Revision ID: brian@tangent.org-20110204092939-nlwrimamw0fxxhgl
Main bit of this patch is that Inno now just uses the identifier so we only
have one spot to make changes for paths.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
 * 
85
85
 */
86
86
 
87
 
#include <config.h>
 
87
#include "config.h"
88
88
#include "user_commands.h"
89
89
#include "status_vars.h"
90
90
#include "global_stats.h"
128
128
void LoggingStats::updateCurrentScoreboard(ScoreboardSlot *scoreboard_slot,
129
129
                                           Session *session)
130
130
{
131
 
  enum_sql_command sql_command= session->getLex()->sql_command;
 
131
  enum_sql_command sql_command= session->lex->sql_command;
132
132
 
133
133
  scoreboard_slot->getUserCommands()->logCommand(sql_command);
134
134