~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/myisam.h

Merge Stewart - remove over 1000 lines of mysys

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#pragma once
19
19
 
20
 
#include <drizzled/identifier.h>
 
20
namespace drizzled {
 
21
  namespace identifier {
 
22
    class Table;
 
23
  }
 
24
}
21
25
 
22
26
#include <drizzled/key_map.h>
23
27
 
24
28
#include <drizzled/base.h>
25
 
#ifndef _m_ctype_h
26
 
#include <drizzled/charset_info.h>
27
 
#endif
28
29
#ifndef _keycache_h
29
30
#include "keycache.h"
30
31
#endif
119
120
                            (_to_)= (mi_get_mask_all_keys_active(_maxkeys_) & \
120
121
                                     (_from_))
121
122
 
 
123
typedef uint32_t ha_checksum;
 
124
 
122
125
        /* Param to/from mi_status */
123
 
 
124
126
typedef struct st_mi_isaminfo           /* Struct from h_info */
125
127
{
126
128
  drizzled::ha_rows records;                    /* Records in database */
331
333
 
332
334
#define T_AUTO_INC              1
333
335
#define T_AUTO_REPAIR           2              /* QQ to be removed */
334
 
#define T_BACKUP_DATA           4
335
336
#define T_CALC_CHECKSUM         8
336
337
#define T_CHECK                 16             /* QQ to be removed */
337
338
#define T_CHECK_ONLY_CHANGED    32             /* QQ to be removed */
405
406
  drizzled::internal::my_off_t new_file_pos,key_file_blocks;
406
407
  drizzled::internal::my_off_t keydata,totaldata,key_blocks,start_check_pos;
407
408
  drizzled::ha_rows total_records,total_deleted;
408
 
  drizzled::internal::ha_checksum record_checksum,glob_crc;
 
409
  ha_checksum record_checksum,glob_crc;
409
410
  uint64_t use_buffers;
410
411
  size_t read_buffer_length, write_buffer_length,
411
412
         sort_buffer_length, sort_key_blocks;
427
428
  uint64_t unique_count[MI_MAX_KEY_SEG+1];
428
429
  uint64_t notnull_count[MI_MAX_KEY_SEG+1];
429
430
 
430
 
  drizzled::internal::ha_checksum key_crc[HA_MAX_POSSIBLE_KEY];
 
431
  ha_checksum key_crc[HA_MAX_POSSIBLE_KEY];
431
432
  ulong rec_per_key_part[MI_MAX_KEY_SEG*HA_MAX_POSSIBLE_KEY];
432
433
  void *session;
433
434
  const char *db_name, *table_name;