~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/insert_select.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_INSERT_SELECT_H
22
 
#define DRIZZLED_STATEMENT_INSERT_SELECT_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
36
35
  InsertSelect(Session *in_session) :
37
36
    Statement(in_session)
38
37
  {
39
 
    getSession()->getLex()->sql_command= SQLCOM_INSERT_SELECT;
 
38
    set_command(SQLCOM_INSERT_SELECT);
40
39
  }
41
40
 
42
41
  bool execute();
50
49
 
51
50
} /* namespace drizzled */
52
51
 
53
 
#endif /* DRIZZLED_STATEMENT_INSERT_SELECT_H */