~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/kill.h

  • Committer: Brian Aker
  • Date: 2011-02-05 10:53:26 UTC
  • mto: (2147.3.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2148.
  • Revision ID: brian@tangent.org-20110205105326-hjmn5xehw5rs46tp
Fix bad error in warnings/errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2009 Sun Microsystems
 
4
 *  Copyright (C) 2009 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
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, Item *item, bool is_query_kill);
40
37
 
41
38
  bool execute();
 
39
 
 
40
private:
 
41
  bool kill(session_id_t id, bool only_kill_query);
42
42
};
43
43
 
44
44
} /* namespace statement */