~stewart/drizzle/embedded-innodb-autoincrement

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
640
640
  return mi_close(tmp);
641
641
}
642
642
 
643
 
int ha_myisam::write_row(unsigned char *buf)
 
643
int ha_myisam::doInsertRecord(unsigned char *buf)
644
644
{
645
645
  ha_statistic_increment(&system_status_var::ha_write_count);
646
646
 
1031
1031
 
1032
1032
 
1033
1033
 
1034
 
int ha_myisam::update_row(const unsigned char *old_data, unsigned char *new_data)
 
1034
int ha_myisam::doUpdateRecord(const unsigned char *old_data, unsigned char *new_data)
1035
1035
{
1036
1036
  ha_statistic_increment(&system_status_var::ha_update_count);
1037
1037
  if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
1039
1039
  return mi_update(file,old_data,new_data);
1040
1040
}
1041
1041
 
1042
 
int ha_myisam::delete_row(const unsigned char *buf)
 
1042
int ha_myisam::doDeleteRecord(const unsigned char *buf)
1043
1043
{
1044
1044
  ha_statistic_increment(&system_status_var::ha_delete_count);
1045
1045
  return mi_delete(file,buf);