~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/blackhole/ha_blackhole.cc

  • Committer: Brian Aker
  • Date: 2008-08-01 18:59:55 UTC
  • Revision ID: brian@tangent.org-20080801185955-o1j93r71gd6onvzr
Random key cleanup (it is a friday...)

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  return(0);
82
82
}
83
83
 
84
 
const char *ha_blackhole::index_type(uint key_number)
 
84
const char *ha_blackhole::index_type(uint key_number __attribute__((unused)))
85
85
{
86
 
  return((table_share->key_info[key_number].flags & HA_FULLTEXT) ? 
87
 
              "FULLTEXT" :
88
 
              (table_share->key_info[key_number].flags & HA_SPATIAL) ?
89
 
              "SPATIAL" :
90
 
              (table_share->key_info[key_number].algorithm ==
91
 
               HA_KEY_ALG_RTREE) ? "RTREE" : "BTREE");
 
86
  return("BTREE");
92
87
}
93
88
 
94
89
int ha_blackhole::write_row(uchar * buf __attribute__((unused)))