~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to drizzled/internal/my_sys.h

  • Committer: Brian Aker
  • Date: 2010-10-10 02:07:52 UTC
  • mfrom: (1827.2.3 staging)
  • Revision ID: brian@tangent.org-20101010020752-ktv73isay5dxtvp3
Merge in switch on table_share_instance inheritance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
171
171
 
172
172
extern bool timed_mutexes;
173
173
 
174
 
typedef class wild_file_pack    /* Struct to hold info when selecting files */
 
174
typedef struct wild_file_pack   /* Struct to hold info when selecting files */
175
175
{
176
 
public:
177
176
  uint          wilds;          /* How many wildcards */
178
177
  uint          not_pos;        /* Start of not-theese-files */
179
178
  char *        *wild;          /* Pointer to wildcards */
180
 
 
181
 
  wild_file_pack():
182
 
    wilds(0),
183
 
    not_pos(0),
184
 
    wild(NULL)
185
 
  {}
186
 
 
187
179
} WF_PACK;
188
180
 
189
181
enum cache_type
196
188
  WRITE_NET
197
189
};
198
190
 
199
 
typedef struct record_cache     /* Used when cacheing records */
 
191
typedef struct st_record_cache  /* Used when cacheing records */
200
192
{
201
 
public:
202
193
  int file;
203
194
  int   rc_seek,error,inited;
204
195
  uint  rc_length,read_length,reclength;
209
200
  my_aio_result aio_result;
210
201
#endif
211
202
  enum cache_type type;
212
 
 
213
 
  record_cache():
214
 
    file(0),
215
 
    rc_seek(0),
216
 
    error(0),
217
 
    inited(0),
218
 
    rc_length(0),
219
 
    read_length(0),
220
 
    reclength(0),
221
 
    rc_record_pos(0),
222
 
    end_of_file(0),
223
 
    rc_buff(NULL),
224
 
    rc_buff2(NULL),
225
 
    rc_pos(NULL),
226
 
    rc_end(NULL),
227
 
    rc_request_pos(NULL)
228
 
  {}
229
 
 
230
203
} RECORD_CACHE;
231
204
 
232
205