~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/kill.h

  • Committer: Brian Aker
  • Date: 2011-01-25 00:51:34 UTC
  • mto: This revision was merged to the branch mainline in revision 2113.
  • Revision ID: brian@tangent.org-20110125005134-4q2lqcwpyj4xuwd0
Merge in the last of the sql_command/push it into the statement object
creation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
class Kill : public Statement
34
34
{
35
35
public:
36
 
  Kill(Session *in_session)
37
 
    :
38
 
      Statement(in_session)
39
 
  {}
 
36
  Kill(Session *in_session) :
 
37
    Statement(in_session)
 
38
  {
 
39
    getSession()->getLex()->sql_command= SQLCOM_KILL;
 
40
  }
40
41
 
41
42
  bool execute();
42
43