~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Brian Aker
  • Date: 2010-06-08 06:42:22 UTC
  • Revision ID: brian@gaz-20100608064222-91h6yilydxke9umi
Cursor now fully handles the update to timestamp for the engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1034
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
 
  if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
1038
 
    table->timestamp_field->set_time();
1039
1037
  return mi_update(file,old_data,new_data);
1040
1038
}
1041
1039