~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/handler.h

  • Committer: Brian Aker
  • Date: 2008-07-12 14:55:02 UTC
  • Revision ID: brian@tangent.org-20080712145502-yp3e3gkwun24f0mp
Removed dead FT bits. Small refactoring in sql_plugin.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#endif
22
22
 
23
23
#include <my_handler.h>
24
 
#include <ft_global.h>
25
24
#include <keycache.h>
26
25
 
27
26
#ifndef NO_HASH
1165
1164
  uint active_index;
1166
1165
  /** Length of ref (1-8 or the clustered key length) */
1167
1166
  uint ref_length;
1168
 
  FT_INFO *ft_handler;
1169
1167
  enum {NONE=0, INDEX, RND} inited;
1170
1168
  bool locked;
1171
1169
  bool implicit_emptied;                /* Can be !=0 only if HEAP */
1203
1201
    ref(0), in_range_check_pushed_down(false),
1204
1202
    key_used_on_scan(MAX_KEY), active_index(MAX_KEY),
1205
1203
    ref_length(sizeof(my_off_t)),
1206
 
    ft_handler(0), inited(NONE),
 
1204
    inited(NONE),
1207
1205
    locked(false), implicit_emptied(0),
1208
1206
    pushed_cond(0), pushed_idx_cond(NULL), pushed_idx_cond_keyno(MAX_KEY),
1209
1207
    next_insert_id(0), insert_id_for_cur_row(0)
1488
1486
  virtual int read_range_next();
1489
1487
  int compare_key(key_range *range);
1490
1488
  int compare_key2(key_range *range);
1491
 
  virtual int ft_init() { return HA_ERR_WRONG_COMMAND; }
1492
 
  void ft_end() { ft_handler=NULL; }
1493
 
  virtual FT_INFO *ft_init_ext(uint flags __attribute__((__unused__)),
1494
 
                               uint inx __attribute__((__unused__)),
1495
 
                               String *key __attribute__((__unused__)))
1496
 
    { return NULL; }
1497
 
  virtual int ft_read(uchar *buf __attribute__((__unused__))) { return HA_ERR_WRONG_COMMAND; }
1498
1489
  virtual int rnd_next(uchar *buf __attribute__((__unused__)))=0;
1499
1490
  virtual int rnd_pos(uchar * buf __attribute__((__unused__)),
1500
1491
                      uchar *pos __attribute__((__unused__)))=0;