~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/structs.h

  • Committer: Monty Taylor
  • Date: 2008-10-20 08:48:34 UTC
  • mfrom: (520.1.22 drizzle)
  • Revision ID: monty@inaugust.com-20081020084834-xpb3w01vkcp55o02
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
  time_t create_time;                   /* When table was created */
52
52
  time_t check_time;
53
53
  time_t update_time;
54
 
  ulong mean_rec_length;                /* physical reclength */
 
54
  uint64_t mean_rec_length;             /* physical reclength */
55
55
} KEYFILE_INFO;
56
56
 
57
57
 
111
111
 
112
112
struct st_read_record;                          /* For referense later */
113
113
class SQL_SELECT;
114
 
class THD;
 
114
class Session;
115
115
class handler;
116
116
struct st_join_table;
117
117
 
120
120
  handler *file;
121
121
  Table **forms;                        /* head and ref forms */
122
122
  int (*read_record)(struct st_read_record *);
123
 
  THD *thd;
 
123
  Session *session;
124
124
  SQL_SELECT *select;
125
125
  uint32_t cache_records;
126
126
  uint32_t ref_length,struct_length,reclength,rec_cache_size,error_offset;
136
136
 
137
137
 
138
138
typedef struct {
139
 
  ulong year,month,day,hour;
 
139
  uint32_t year;
 
140
  uint32_t month;
 
141
  uint32_t day;
 
142
  uint32_t hour;
140
143
  uint64_t minute,second,second_part;
141
144
  bool neg;
142
145
} INTERVAL;
153
156
 
154
157
extern const char *show_comp_option_name[];
155
158
 
156
 
typedef int *(*update_var)(THD *, struct st_mysql_show_var *);
 
159
typedef int *(*update_var)(Session *, struct st_mysql_show_var *);
157
160
 
158
161
typedef struct  st_lex_user {
159
162
  LEX_STRING user, host, password;
245
248
  { auto_inc_interval_min + k * increment,
246
249
    0 <= k <= (auto_inc_interval_values-1) }
247
250
  Where "increment" is maintained separately by the user of this class (and is
248
 
  currently only thd->variables.auto_increment_increment).
 
251
  currently only session->variables.auto_increment_increment).
249
252
  It mustn't derive from Sql_alloc, because SET INSERT_ID needs to
250
253
  allocate memory which must stay allocated for use by the next statement.
251
254
*/