~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/ha_myisam.cc

  • Committer: Brian Aker
  • Date: 2008-07-26 18:39:33 UTC
  • mfrom: (212.1.3 codestyle)
  • Revision ID: brian@tangent.org-20080726183933-hueup0fcy2zs1hug
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
520
520
}
521
521
 
522
522
 
523
 
const char *ha_myisam::index_type(uint key_number __attribute__((__unused__)))
 
523
const char *ha_myisam::index_type(uint key_number __attribute__((unused)))
524
524
{
525
525
  return "BTREE";
526
526
}
732
732
*/
733
733
 
734
734
int ha_myisam::analyze(THD *thd,
735
 
                       HA_CHECK_OPT* check_opt __attribute__((__unused__)))
 
735
                       HA_CHECK_OPT* check_opt __attribute__((unused)))
736
736
{
737
737
  int error=0;
738
738
  MI_CHECK param;
1336
1336
C_MODE_END
1337
1337
 
1338
1338
 
1339
 
int ha_myisam::index_init(uint idx, bool sorted __attribute__((__unused__)))
 
1339
int ha_myisam::index_init(uint idx, bool sorted __attribute__((unused)))
1340
1340
1341
1341
  active_index=idx;
1342
1342
  //in_range_read= false;
1495
1495
}
1496
1496
 
1497
1497
 
1498
 
void ha_myisam::position(const uchar *record __attribute__((__unused__)))
 
1498
void ha_myisam::position(const uchar *record __attribute__((unused)))
1499
1499
{
1500
1500
  my_off_t row_position= mi_position(file);
1501
1501
  my_store_ptr(ref, ref_length, row_position);
1613
1613
                                       F_UNLCK : F_EXTRA_LCK));
1614
1614
}
1615
1615
 
1616
 
THR_LOCK_DATA **ha_myisam::store_lock(THD *thd __attribute__((__unused__)),
 
1616
THR_LOCK_DATA **ha_myisam::store_lock(THD *thd __attribute__((unused)),
1617
1617
                                      THR_LOCK_DATA **to,
1618
1618
                                      enum thr_lock_type lock_type)
1619
1619
{
1698
1698
}
1699
1699
 
1700
1700
 
1701
 
void ha_myisam::get_auto_increment(uint64_t offset __attribute__((__unused__)),
1702
 
                                   uint64_t increment __attribute__((__unused__)),
1703
 
                                   uint64_t nb_desired_values __attribute__((__unused__)),
 
1701
void ha_myisam::get_auto_increment(uint64_t offset __attribute__((unused)),
 
1702
                                   uint64_t increment __attribute__((unused)),
 
1703
                                   uint64_t nb_desired_values __attribute__((unused)),
1704
1704
                                   uint64_t *first_value,
1705
1705
                                   uint64_t *nb_reserved_values)
1706
1706
{
1805
1805
  return COMPATIBLE_DATA_YES;
1806
1806
}
1807
1807
 
1808
 
int myisam_panic(handlerton *hton __attribute__((__unused__)), ha_panic_function flag)
 
1808
int myisam_panic(handlerton *hton __attribute__((unused)), ha_panic_function flag)
1809
1809
{
1810
1810
  return mi_panic(flag);
1811
1811
}