~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement.h

  • Committer: Brian Aker
  • Date: 2011-01-22 18:52:16 UTC
  • mfrom: (2098.4.1 catalogs)
  • Revision ID: brian@tangent.org-20110122185216-18and6vncipd7x72
Session encapsulation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
{
46
46
public:
47
47
  Statement(Session *in_session) : 
48
 
    session(in_session)
 
48
    _session(in_session)
49
49
  {}
50
50
 
51
51
  virtual ~Statement() {}
59
59
 
60
60
  Session *getSession()
61
61
  {
62
 
    return session;
 
62
    return _session;
63
63
  }
64
64
 
65
65
  virtual bool isShow() { return false; }
66
66
 
67
 
protected:
68
 
 
 
67
private:
69
68
  /**
70
69
   * A session handler.
71
70
   */
72
 
  Session *session;
 
71
  Session *_session;
73
72
};
74
73
 
75
74
} /* namespace statement */