~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/kill.h

  • Committer: Mark Atwood
  • Date: 2011-08-09 01:21:52 UTC
  • mfrom: (2380.1.2 drizzle-autoconf)
  • Revision ID: me@mark.atwood.name-20110809012152-zxq2dgan8e6nsvse
merge lp:~brianaker/drizzle/autoreconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_STATEMENT_KILL_H
22
 
#define DRIZZLED_STATEMENT_KILL_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
class Session;
29
 
 
30
 
namespace statement
31
 
{
 
25
namespace drizzled {
 
26
namespace statement {
32
27
 
33
28
class Kill : public Statement
34
29
{
36
31
  Kill(Session *in_session, Item *item, bool is_query_kill);
37
32
 
38
33
  bool execute();
39
 
 
40
 
private:
41
 
  bool kill(session_id_t id, bool only_kill_query);
42
34
};
43
35
 
44
36
} /* namespace statement */
45
37
 
46
38
} /* namespace drizzled */
47
39
 
48
 
#endif /* DRIZZLED_STATEMENT_KILL_H */