~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_create.h

  • Committer: LinuxJedi
  • Date: 2010-08-12 17:36:08 UTC
  • mto: (1735.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1736.
  • Revision ID: linuxjedi@linuxjedi-laptop-20100812173608-ccr246iaa8gv3s97
Remove module pointer from registry when module doesn't load to avoid a double-free on shutdown.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
{
25
25
 
26
26
class select_create: public select_insert {
27
 
  Order *group;
 
27
  order_st *group;
28
28
  TableList *create_table;
29
29
  bool is_if_not_exists;
30
30
  HA_CREATE_INFO *create_info;
33
33
  AlterInfo *alter_info;
34
34
  Field **field;
35
35
  /* lock data for tmp table */
36
 
  DrizzleLock *m_lock;
 
36
  DRIZZLE_LOCK *m_lock;
37
37
  /* m_lock or session->extra_lock */
38
 
  DrizzleLock **m_plock;
 
38
  DRIZZLE_LOCK **m_plock;
39
39
  TableIdentifier &identifier;
40
40
 
41
41
public:
67
67
 
68
68
  // Needed for access from local class MY_HOOKS in prepare(), since session is proteted.
69
69
  const Session *get_session(void) { return session; }
70
 
  const HA_CREATE_INFO *get_create_info() { return create_info; }
 
70
  const HA_CREATE_INFO *get_create_info() { return create_info; };
71
71
  int prepare2(void) { return 0; }
72
72
};
73
73