~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/myisam_priv.h

  • Committer: Mark Atwood
  • Date: 2011-04-29 17:30:52 UTC
  • mfrom: (2296.1.2 local-fix)
  • Revision ID: me@mark.atwood.name-20110429173052-3hg0h8rxphrasm0s
mergeĀ ~brianaker/drizzle/iocached-rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
302
302
  uint  data_changed;                   /* Somebody has changed data */
303
303
  uint  save_update;                    /* When using KEY_READ */
304
304
  int   save_lastinx;
305
 
  drizzled::internal::IO_CACHE rec_cache;                       /* When cacheing records */
 
305
  drizzled::internal::io_cache_st rec_cache;                    /* When cacheing records */
306
306
  uint32_t  preload_buff_size;              /* When preloading indexes */
307
307
  drizzled::myf lock_wait;                      /* is 0 or MY_DONT_WAIT */
308
308
  bool was_locked;                      /* Was locked in panic */
330
330
typedef struct st_mi_sort_param
331
331
{
332
332
  pthread_t  thr;
333
 
  drizzled::internal::IO_CACHE read_cache, tempfile, tempfile_for_exceptions;
 
333
  drizzled::internal::io_cache_st read_cache, tempfile, tempfile_for_exceptions;
334
334
  drizzled::DYNAMIC_ARRAY buffpek;
335
335
  MI_BIT_BUFF   bit_buff;               /* For parallel repair of packrec. */
336
336
 
359
359
  int (*key_write)(struct st_mi_sort_param *, const void *);
360
360
  void (*lock_in_memory)(MI_CHECK *);
361
361
  int (*write_keys)(struct st_mi_sort_param *, register unsigned char **,
362
 
                     uint32_t , struct st_buffpek *, drizzled::internal::IO_CACHE *);
363
 
  unsigned int (*read_to_buffer)(drizzled::internal::IO_CACHE *,struct st_buffpek *, uint);
364
 
  int (*write_key)(struct st_mi_sort_param *, drizzled::internal::IO_CACHE *,unsigned char *,
 
362
                     uint32_t , struct st_buffpek *, drizzled::internal::io_cache_st *);
 
363
  unsigned int (*read_to_buffer)(drizzled::internal::io_cache_st *,struct st_buffpek *, uint);
 
364
  int (*write_key)(struct st_mi_sort_param *, drizzled::internal::io_cache_st *,unsigned char *,
365
365
                       uint, uint);
366
366
} MI_SORT_PARAM;
367
367
 
608
608
                         unsigned char *old, drizzled::key_part_map keypart_map,
609
609
                         HA_KEYSEG **last_used_keyseg);
610
610
extern int _mi_read_key_record(MI_INFO *info,drizzled::internal::my_off_t filepos,unsigned char *buf);
611
 
extern int _mi_read_cache(drizzled::internal::IO_CACHE *info,unsigned char *buff,drizzled::internal::my_off_t pos,
 
611
extern int _mi_read_cache(drizzled::internal::io_cache_st *info,unsigned char *buff,drizzled::internal::my_off_t pos,
612
612
                          uint32_t length,int re_read_if_possibly);
613
613
extern uint64_t retrieve_auto_increment(MI_INFO *info,const unsigned char *record);
614
614