~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to storage/myisammrg/ha_myisammrg.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
  MYRG_INFO *file;
28
28
 
29
29
 public:
 
30
  MEM_ROOT      children_mem_root;      /* mem root for children list */
 
31
  TABLE_LIST    *children_l;            /* children list */
 
32
  TABLE_LIST    **children_last_l;      /* children list end */
30
33
  TABLE_LIST    *next_child_attach;     /* next child to attach */
31
34
  uint          test_if_locked;         /* flags from ::open() */
32
35
  bool          need_compat_check;      /* if need compatibility check */
42
45
            HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE |
43
46
            HA_NULL_IN_KEY | HA_CAN_INDEX_BLOBS | HA_FILE_BASED |
44
47
            HA_ANY_INDEX_MAY_BE_UNIQUE | HA_CAN_BIT_FIELD |
 
48
            HA_HAS_RECORDS |
45
49
            HA_NO_COPY_ON_ALTER);
46
50
  }
47
51
  ulong index_flags(uint inx, uint part, bool all_parts) const
51
55
            HA_READ_ORDER | HA_KEYREAD_ONLY);
52
56
  }
53
57
  uint max_supported_keys()          const { return MI_MAX_KEY; }
54
 
  uint max_supported_key_length()    const { return MI_MAX_KEY_LENGTH; }
55
 
  uint max_supported_key_part_length() const { return MI_MAX_KEY_LENGTH; }
 
58
  uint max_supported_key_length()    const { return HA_MAX_KEY_LENGTH; }
 
59
  uint max_supported_key_part_length() const { return HA_MAX_KEY_LENGTH; }
56
60
  double scan_time()
57
61
  { return ulonglong2double(stats.data_file_length) / IO_SIZE + file->tables; }
58
62
 
59
63
  int open(const char *name, int mode, uint test_if_locked);
 
64
  int add_children_list(void);
60
65
  int attach_children(void);
61
66
  int detach_children(void);
62
67
  int close(void);
94
99
  TABLE *table_ptr() { return table; }
95
100
  bool check_if_incompatible_data(HA_CREATE_INFO *info, uint table_changes);
96
101
  int check(THD* thd, HA_CHECK_OPT* check_opt);
 
102
  ha_rows records();
97
103
};