58
58
return ha_blackhole_exts;
61
int ha_blackhole::open(const char *name, int mode, uint test_if_locked)
61
int ha_blackhole::open(const char *name, int mode __attribute__((__unused__)),
62
uint test_if_locked __attribute__((__unused__)))
63
64
DBUG_ENTER("ha_blackhole::open");
79
int ha_blackhole::create(const char *name, TABLE *table_arg,
80
HA_CREATE_INFO *create_info)
80
int ha_blackhole::create(const char *name __attribute__((__unused__)),
81
TABLE *table_arg __attribute__((__unused__)),
82
HA_CREATE_INFO *create_info __attribute__((__unused__)))
82
84
DBUG_ENTER("ha_blackhole::create");
94
96
HA_KEY_ALG_RTREE) ? "RTREE" : "BTREE");
97
int ha_blackhole::write_row(uchar * buf)
99
int ha_blackhole::write_row(uchar * buf __attribute__((__unused__)))
99
101
DBUG_ENTER("ha_blackhole::write_row");
100
102
DBUG_RETURN(table->next_number_field ? update_auto_increment() : 0);
103
int ha_blackhole::rnd_init(bool scan)
105
int ha_blackhole::rnd_init(bool scan __attribute__((__unused__)))
105
107
DBUG_ENTER("ha_blackhole::rnd_init");
110
int ha_blackhole::rnd_next(uchar *buf)
112
int ha_blackhole::rnd_next(uchar *buf __attribute__((__unused__)))
112
114
DBUG_ENTER("ha_blackhole::rnd_next");
113
115
DBUG_RETURN(HA_ERR_END_OF_FILE);
117
int ha_blackhole::rnd_pos(uchar * buf, uchar *pos)
119
int ha_blackhole::rnd_pos(uchar * buf __attribute__((__unused__)),
120
uchar *pos __attribute__((__unused__)))
119
122
DBUG_ENTER("ha_blackhole::rnd_pos");
187
int ha_blackhole::index_read_map(uchar * buf, const uchar * key,
188
key_part_map keypart_map,
189
enum ha_rkey_function find_flag)
191
int ha_blackhole::index_read_map(uchar * buf __attribute__((__unused__)),
192
const uchar * key __attribute__((__unused__)),
193
key_part_map keypart_map __attribute__((__unused__)),
194
enum ha_rkey_function find_flag __attribute__((__unused__)))
191
196
DBUG_ENTER("ha_blackhole::index_read");
192
197
DBUG_RETURN(HA_ERR_END_OF_FILE);
196
int ha_blackhole::index_read_idx_map(uchar * buf, uint idx, const uchar * key,
197
key_part_map keypart_map,
198
enum ha_rkey_function find_flag)
201
int ha_blackhole::index_read_idx_map(uchar * buf __attribute__((__unused__)),
202
uint idx __attribute__((__unused__)),
203
const uchar * key __attribute__((__unused__)),
204
key_part_map keypart_map __attribute__((__unused__)),
205
enum ha_rkey_function find_flag __attribute__((__unused__)))
200
207
DBUG_ENTER("ha_blackhole::index_read_idx");
201
208
DBUG_RETURN(HA_ERR_END_OF_FILE);
205
int ha_blackhole::index_read_last_map(uchar * buf, const uchar * key,
206
key_part_map keypart_map)
212
int ha_blackhole::index_read_last_map(uchar * buf __attribute__((__unused__)),
213
const uchar * key __attribute__((__unused__)),
214
key_part_map keypart_map __attribute__((__unused__)))
208
216
DBUG_ENTER("ha_blackhole::index_read_last");
209
217
DBUG_RETURN(HA_ERR_END_OF_FILE);
213
int ha_blackhole::index_next(uchar * buf)
221
int ha_blackhole::index_next(uchar * buf __attribute__((__unused__)))
215
223
DBUG_ENTER("ha_blackhole::index_next");
216
224
DBUG_RETURN(HA_ERR_END_OF_FILE);
220
int ha_blackhole::index_prev(uchar * buf)
228
int ha_blackhole::index_prev(uchar * buf __attribute__((__unused__)))
222
230
DBUG_ENTER("ha_blackhole::index_prev");
223
231
DBUG_RETURN(HA_ERR_END_OF_FILE);
227
int ha_blackhole::index_first(uchar * buf)
235
int ha_blackhole::index_first(uchar * buf __attribute__((__unused__)))
229
237
DBUG_ENTER("ha_blackhole::index_first");
230
238
DBUG_RETURN(HA_ERR_END_OF_FILE);
234
int ha_blackhole::index_last(uchar * buf)
242
int ha_blackhole::index_last(uchar * buf __attribute__((__unused__)))
236
244
DBUG_ENTER("ha_blackhole::index_last");
237
245
DBUG_RETURN(HA_ERR_END_OF_FILE);