~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement.h

  • Committer: Brian Aker
  • Date: 2011-01-25 05:20:15 UTC
  • mto: (2109.1.6 drizzle-build)
  • mto: This revision was merged to the branch mainline in revision 2112.
  • Revision ID: brian@tangent.org-20110125052015-nw5jhmiq0at1qt9u
Merge in reference from pointer.

Show diffs side-by-side

added added

removed removed

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