~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisamdef.h

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  time_t check_time;                    /* Time for last check */
82
82
  uint  sortkey;                        /* sorted by this key  (not used) */
83
83
  uint open_count;
84
 
  uint8 changed;                        /* Changed since myisamchk */
 
84
  uint8_t changed;                      /* Changed since myisamchk */
85
85
 
86
86
  /* the following isn't saved on disk */
87
87
  uint state_diff_length;               /* Should be 0 */
170
170
  uchar *file_map;                      /* mem-map of file if possible */
171
171
  KEY_CACHE *key_cache;                 /* ref to the current key cache */
172
172
  MI_DECODE_TREE *decode_trees;
173
 
  uint16 *decode_tables;
 
173
  uint16_t *decode_tables;
174
174
  int (*read_record)(struct st_myisam_info*, my_off_t, uchar*);
175
175
  int (*write_record)(struct st_myisam_info*, const uchar*);
176
176
  int (*update_record)(struct st_myisam_info*, my_off_t, const uchar*);
274
274
  enum ha_rkey_function last_key_func;  /* CONTAIN, OVERLAP, etc */
275
275
  uint  save_lastkey_length;
276
276
  uint  pack_key_length;                /* For MYISAMMRG */
277
 
  uint16 last_used_keyseg;              /* For MyISAMMRG */
 
277
  uint16_t last_used_keyseg;              /* For MyISAMMRG */
278
278
  int   errkey;                         /* Got last error on this key */
279
279
  int   lock_type;                      /* How database was locked */
280
280
  int   tmp_lock_type;                  /* When locked by readinfo */
378
378
 
379
379
 
380
380
#define mi_getint(x)    ((uint) mi_uint2korr(x) & 32767)
381
 
#define mi_putint(x,y,nod) { uint16 boh=(nod ? (uint16) 32768 : 0) + (uint16) (y);\
 
381
#define mi_putint(x,y,nod) { uint16_t boh=(nod ? (uint16_t) 32768 : 0) + (uint16_t) (y);\
382
382
                          mi_int2store(x,boh); }
383
383
#define mi_test_if_nod(x) (x[0] & 128 ? info->s->base.key_reflength : 0)
384
384
#define mi_report_crashed(A, B) _mi_report_crashed((A), (B), __FILE__, __LINE__)