~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisamdef.h

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
  MI_STATUS_INFO state;
62
62
  ha_rows split;                        /* number of split blocks */
63
63
  my_off_t dellink;                     /* Link to next removed block */
64
 
  ulonglong auto_increment;
 
64
  uint64_t auto_increment;
65
65
  ulong process;                        /* process that updated table last */
66
66
  ulong unique;                         /* Unique number for this process */
67
67
  ulong update_count;                   /* Updated for each write lock */
73
73
 
74
74
  ulong sec_index_changed;              /* Updated when new sec_index */
75
75
  ulong sec_index_used;                 /* which extra index are in use */
76
 
  ulonglong key_map;                    /* Which keys are in use */
 
76
  uint64_t key_map;                     /* Which keys are in use */
77
77
  ha_checksum checksum;                 /* Table checksum */
78
78
  ulong version;                        /* timestamp of create */
79
79
  time_t create_time;                   /* Time when created database */
294
294
 
295
295
  index_cond_func_t index_cond_func;   /* Index condition function */
296
296
  void *index_cond_func_arg;           /* parameter for the func */
297
 
#ifdef __WIN__
298
 
  my_bool owned_by_merge;                       /* This MyISAM table is part of a merge union */
299
 
#endif
300
297
  THR_LOCK_DATA lock;
301
298
  uchar  *rtree_recursion_state;        /* For RTREE */
302
299
  int     rtree_recursion_depth;
321
318
    The next two are used to collect statistics, see update_key_parts for
322
319
    description.
323
320
  */
324
 
  ulonglong unique[MI_MAX_KEY_SEG+1];
325
 
  ulonglong notnull[MI_MAX_KEY_SEG+1];
 
321
  uint64_t unique[MI_MAX_KEY_SEG+1];
 
322
  uint64_t notnull[MI_MAX_KEY_SEG+1];
326
323
 
327
324
  my_off_t pos,max_pos,filepos,start_recpos;
328
325
  uint key, key_length,real_key_length,sortbuff_size;
603
600
extern int _mi_read_key_record(MI_INFO *info,my_off_t filepos,uchar *buf);
604
601
extern int _mi_read_cache(IO_CACHE *info,uchar *buff,my_off_t pos,
605
602
                          uint length,int re_read_if_possibly);
606
 
extern ulonglong retrieve_auto_increment(MI_INFO *info,const uchar *record);
 
603
extern uint64_t retrieve_auto_increment(MI_INFO *info,const uchar *record);
607
604
 
608
605
extern uchar *mi_alloc_rec_buff(MI_INFO *,ulong, uchar**);
609
606
#define mi_get_rec_buff_ptr(info,buf)                              \
621
618
                                 ulong *reclength,int *flag);
622
619
extern void _mi_print_key(FILE *stream,HA_KEYSEG *keyseg,const uchar *key,
623
620
                          uint length);
624
 
extern my_bool _mi_read_pack_info(MI_INFO *info,pbool fix_keys);
 
621
extern my_bool _mi_read_pack_info(MI_INFO *info,bool fix_keys);
625
622
extern int _mi_read_pack_record(MI_INFO *info,my_off_t filepos,uchar *buf);
626
623
extern int _mi_read_rnd_pack_record(MI_INFO*, uchar *,my_off_t, my_bool);
627
624
extern int _mi_pack_rec_unpack(MI_INFO *info, MI_BIT_BUFF *bit_buff,
628
625
                               uchar *to, uchar *from, ulong reclength);
629
 
extern ulonglong mi_safe_mul(ulonglong a,ulonglong b);
 
626
extern uint64_t mi_safe_mul(uint64_t a,uint64_t b);
630
627
 
631
628
struct st_sort_info;
632
629
 
747
744
void mi_update_status(void* param);
748
745
void mi_restore_status(void* param);
749
746
void mi_copy_status(void* to,void *from);
750
 
my_bool mi_check_status(void* param);
 
747
bool mi_check_status(void* param);
751
748
 
752
749
extern MI_INFO *test_if_reopen(char *filename);
753
750
my_bool check_table_is_closed(const char *name, const char *where);