~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/myisammrg.h

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
typedef struct st_mymerge_info          /* Struct from h_info */
45
45
{
46
 
  ulonglong records;                    /* Records in database */
47
 
  ulonglong deleted;                    /* Deleted records in database */
48
 
  ulonglong recpos;                     /* Pos for last used record */
49
 
  ulonglong data_file_length;
 
46
  uint64_t records;                     /* Records in database */
 
47
  uint64_t deleted;                     /* Deleted records in database */
 
48
  uint64_t recpos;                      /* Pos for last used record */
 
49
  uint64_t data_file_length;
50
50
  uint  reclength;                      /* Recordlength */
51
51
  int   errkey;                         /* With key was dupplicated on err */
52
52
  uint  options;                        /* HA_OPTION_... used */
56
56
typedef struct st_myrg_table_info
57
57
{
58
58
  struct st_myisam_info *table;
59
 
  ulonglong file_offset;
 
59
  uint64_t file_offset;
60
60
} MYRG_TABLE;
61
61
 
62
62
typedef struct st_myrg_info
63
63
{
64
64
  MYRG_TABLE *open_tables,*current_table,*end_table,*last_used_table;
65
 
  ulonglong records;                    /* records in tables */
66
 
  ulonglong del;                        /* Removed records */
67
 
  ulonglong data_file_length;
 
65
  uint64_t records;                     /* records in tables */
 
66
  uint64_t del;                 /* Removed records */
 
67
  uint64_t data_file_length;
68
68
  ulong  cache_size;
69
69
  uint   merge_insert_method;
70
70
  uint   tables,options,reclength,keys;
98
98
extern int myrg_rnext_same(MYRG_INFO *file,uchar *buf);
99
99
extern int myrg_rkey(MYRG_INFO *info,uchar *buf,int inx, const uchar *key,
100
100
                     key_part_map keypart_map, enum ha_rkey_function search_flag);
101
 
extern int myrg_rrnd(MYRG_INFO *file,uchar *buf,ulonglong pos);
 
101
extern int myrg_rrnd(MYRG_INFO *file,uchar *buf,uint64_t pos);
102
102
extern int myrg_rsame(MYRG_INFO *file,uchar *record,int inx);
103
103
extern int myrg_update(MYRG_INFO *file,const uchar *old,uchar *new_rec);
104
104
extern int myrg_write(MYRG_INFO *info,uchar *rec);
113
113
extern ha_rows myrg_records_in_range(MYRG_INFO *info, int inx,
114
114
                                     key_range *min_key, key_range *max_key);
115
115
 
116
 
extern ulonglong myrg_position(MYRG_INFO *info);
 
116
extern uint64_t myrg_position(MYRG_INFO *info);
117
117
#ifdef  __cplusplus
118
118
}
119
119
#endif