~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_create.h

  • Committer: Monty Taylor
  • Date: 2011-03-10 18:09:05 UTC
  • mfrom: (2225.2.2 refactor)
  • mto: This revision was merged to the branch mainline in revision 2228.
  • Revision ID: mordred@inaugust.com-20110310180905-ttx05t7q7ff6nl7c
Merge Olad: Refactoring

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_SELECT_CREATE_H
21
21
#define DRIZZLED_SELECT_CREATE_H
22
22
 
 
23
#include <drizzled/select_insert.h>
 
24
 
23
25
namespace drizzled
24
26
{
25
27
 
36
38
  DrizzleLock *m_lock;
37
39
  /* m_lock or session->extra_lock */
38
40
  DrizzleLock **m_plock;
39
 
  TableIdentifier &identifier;
 
41
  identifier::Table::const_reference identifier;
40
42
 
41
43
public:
42
44
  select_create (TableList *table_arg,
46
48
                 AlterInfo *alter_info_arg,
47
49
                 List<Item> &select_fields,enum_duplicates duplic, bool ignore,
48
50
                 TableList *select_tables_arg,
49
 
                 TableIdentifier &identifier_arg)
 
51
                 identifier::Table::const_reference identifier_arg)
50
52
    :select_insert (NULL, NULL, &select_fields, 0, 0, duplic, ignore),
51
53
    create_table(table_arg),
52
54
    is_if_not_exists(is_if_not_exists_arg),
60
62
  int prepare(List<Item> &list, Select_Lex_Unit *u);
61
63
 
62
64
  void store_values(List<Item> &values);
63
 
  void send_error(uint32_t errcode,const char *err);
 
65
  void send_error(drizzled::error_t errcode,const char *err);
64
66
  bool send_eof();
65
67
  void abort();
66
68
  virtual bool can_rollback_data() { return true; }