~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: Monty Taylor
  • Date: 2009-05-24 23:54:21 UTC
  • mfrom: (1014.2.12 kill-malloc)
  • mto: This revision was merged to the branch mainline in revision 1039.
  • Revision ID: mordred@inaugust.com-20090524235421-x5vfss90auzbn896
Merged Monty from lp:~mordred/drizzle/kill-malloc

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
 
100
100
struct st_join_table;
101
101
 
102
 
typedef struct st_reginfo {             /* Extra info about reg */
 
102
struct RegInfo {                /* Extra info about reg */
103
103
  struct st_join_table *join_tab;       /* Used by SELECT() */
104
104
  enum thr_lock_type lock_type;         /* How database is used */
105
105
  bool not_exists_optimize;
106
106
  bool impossible_range;
107
 
} REGINFO;
108
 
 
 
107
  RegInfo()
 
108
    : join_tab(NULL), lock_type(TL_UNLOCK),
 
109
      not_exists_optimize(false), impossible_range(false) {}
 
110
  void reset()
 
111
  {
 
112
    join_tab= NULL;
 
113
    lock_type= TL_UNLOCK;
 
114
    not_exists_optimize= false;
 
115
    impossible_range= false;
 
116
  }
 
117
};
109
118
 
110
119
struct st_read_record;                          /* For referense later */
111
120
class SQL_SELECT;