~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/drop_index.h

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

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
 
#pragma once
 
21
#ifndef DRIZZLED_STATEMENT_DROP_INDEX_H
 
22
#define DRIZZLED_STATEMENT_DROP_INDEX_H
22
23
 
23
 
#include <drizzled/alter_info.h>
24
24
#include <drizzled/statement.h>
25
25
 
26
 
namespace drizzled {
27
 
namespace statement {
 
26
namespace drizzled
 
27
{
 
28
class Session;
 
29
 
 
30
namespace statement
 
31
{
28
32
 
29
33
class DropIndex : public Statement
30
34
{
32
36
  DropIndex(Session *in_session) :
33
37
    Statement(in_session)
34
38
  {
35
 
    set_command(SQLCOM_DROP_INDEX);
 
39
    getSession()->getLex()->sql_command= SQLCOM_DROP_INDEX;
36
40
  }
37
41
 
38
42
  bool execute();
44
48
 
45
49
} /* namespace drizzled */
46
50
 
 
51
#endif /* DRIZZLED_STATEMENT_DROP_INDEX_H */