~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-14 15:00:51 UTC
  • mto: (2235.2.2 build)
  • mto: This revision was merged to the branch mainline in revision 2237.
  • Revision ID: olafvdspek@gmail.com-20110314150051-g3sx2nxrcpp21n4d
Refactor includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
}
87
87
 
88
88
namespace internal { struct st_my_thread_var; }
89
 
namespace table { class Placeholder; }
 
89
 
 
90
namespace table 
 
91
 
92
  class Placeholder; 
 
93
  class Singular; 
 
94
}
90
95
 
91
96
class CopyField;
92
97
class DrizzleXid;
204
209
  }
205
210
 
206
211
public:
207
 
  const LEX& lex() const
208
 
  {
209
 
    return main_lex;
210
 
  }
211
 
 
212
 
  LEX& lex()
213
 
  {
214
 
    return main_lex;
215
 
  }
216
 
 
217
 
  enum_sql_command getSqlCommand() const
218
 
  {
219
 
    return lex().sql_command;
220
 
  }
 
212
  const LEX& lex() const;
 
213
  LEX& lex();
 
214
  enum_sql_command getSqlCommand() const;
221
215
 
222
216
  /** query associated with this statement */
223
217
  typedef boost::shared_ptr<const std::string> QueryString;