~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/heap.h

  • Committer: Brian Aker
  • Date: 2008-08-09 06:11:42 UTC
  • Revision ID: brian@tangent.org-20080809061142-7i6whlhyf7t2d27z
Removed my_bool from heap engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
  char * name;                  /* Name of "memory-file" */
174
174
  THR_LOCK lock;
175
175
  pthread_mutex_t intern_lock;          /* Locking for use with _locking */
176
 
  my_bool delete_on_close;
 
176
  bool delete_on_close;
177
177
  LIST open_list;
178
178
  uint auto_key;
179
179
  uint auto_key_type;                   /* real type of the auto key segment */
197
197
  TREE_ELEMENT *parents[MAX_TREE_HEIGHT+1];
198
198
  TREE_ELEMENT **last_pos;
199
199
  uint lastkey_len;
200
 
  my_bool implicit_emptied;
 
200
  bool implicit_emptied;
201
201
  THR_LOCK_DATA lock;
202
202
  LIST open_list;
203
203
} HP_INFO;
211
211
  uint is_dynamic;  
212
212
  uint64_t max_table_size;
213
213
  uint64_t auto_increment;
214
 
  my_bool with_auto_increment;
215
 
  my_bool internal_table;
 
214
  bool with_auto_increment;
 
215
  bool internal_table;
216
216
} HP_CREATE_INFO;
217
217
 
218
218
        /* Prototypes for heap-functions */
258
258
int heap_rkey(HP_INFO *info, uchar *record, int inx, const uchar *key,
259
259
              key_part_map keypart_map, enum ha_rkey_function find_flag);
260
260
extern uchar * heap_find(HP_INFO *info,int inx,const uchar *key);
261
 
extern int heap_check_heap(HP_INFO *info, my_bool print_status);
 
261
extern int heap_check_heap(HP_INFO *info, bool print_status);
262
262
extern uchar *heap_position(HP_INFO *info);
263
263
 
264
264
/* The following is for programs that uses the old HEAP interface where