~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_create.h

  • Committer: Stewart Smith
  • Date: 2011-01-14 05:16:49 UTC
  • mto: (2086.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2087.
  • Revision ID: stewart@flamingspork.com-20110114051649-4kg0mdrgdtako8vp
add a FIXME to flesh out insert docs

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