~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.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:
347
347
{
348
348
  int res;
349
349
  ha_statistic_increment(&system_status_var::ha_update_count);
350
 
  if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
351
 
    table->timestamp_field->set_time();
352
350
  res= heap_update(file,old_data,new_data);
353
351
  if (!res && ++records_changed*MEMORY_STATS_UPDATE_THRESHOLD >
354
352
              file->s->records)