~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/drop_index.h

Refactor

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_DROP_INDEX_H
22
 
#define DRIZZLED_STATEMENT_DROP_INDEX_H
 
21
#pragma once
23
22
 
 
23
#include <drizzled/alter_info.h>
24
24
#include <drizzled/statement.h>
25
25
 
26
26
namespace drizzled
36
36
  DropIndex(Session *in_session) :
37
37
    Statement(in_session)
38
38
  {
39
 
    getSession()->getLex()->sql_command= SQLCOM_DROP_INDEX;
 
39
    set_command(SQLCOM_DROP_INDEX);
40
40
  }
41
41
 
42
42
  bool execute();
48
48
 
49
49
} /* namespace drizzled */
50
50
 
51
 
#endif /* DRIZZLED_STATEMENT_DROP_INDEX_H */