26 uint table_name_length;
51 const char *index_type(uint key_number);
53 ulonglong table_flags()
const
55 return(HA_NULL_IN_KEY | HA_CAN_FULLTEXT | HA_CAN_SQL_HANDLER |
56 HA_BINLOG_STMT_CAPABLE | HA_BINLOG_ROW_CAPABLE |
57 HA_CAN_INDEX_BLOBS | HA_AUTO_PART_KEY | HA_READ_OUT_OF_SYNC |
58 HA_FILE_BASED | HA_CAN_GEOMETRY | HA_CAN_INSERT_DELAYED);
60 ulong index_flags(uint inx, uint part,
bool all_parts)
const
62 return ((table_share->key_info[inx].algorithm == HA_KEY_ALG_FULLTEXT) ?
63 0 : HA_READ_NEXT | HA_READ_PREV | HA_READ_RANGE |
64 HA_READ_ORDER | HA_KEYREAD_ONLY);
67 #define BLACKHOLE_MAX_KEY 64
68 #define BLACKHOLE_MAX_KEY_SEG 16
69 #define BLACKHOLE_MAX_KEY_LENGTH 1000
70 uint max_supported_keys()
const {
return BLACKHOLE_MAX_KEY; }
71 uint max_supported_key_length()
const {
return BLACKHOLE_MAX_KEY_LENGTH; }
72 uint max_supported_key_part_length()
const {
return BLACKHOLE_MAX_KEY_LENGTH; }
73 int open(
const char *
name,
int mode, uint test_if_locked);
80 enum ha_rkey_function find_flag);
82 key_part_map keypart_map,
83 enum ha_rkey_function find_flag);
89 void position(
const uchar *
record);
91 int external_lock(THD *thd,
int lock_type);
92 int create(
const char *
name,
TABLE *table_arg,
96 enum thr_lock_type lock_type);
98 virtual int write_row(uchar *
buf);
99 virtual int update_row(
const uchar *old_data, uchar *new_data);
100 virtual int delete_row(
const uchar *
buf);