~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/embedded_innodb/embedded_innodb_engine.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:
1681
1681
  err= ib_tuple_copy(update_tuple, tuple);
1682
1682
  assert(err == DB_SUCCESS);
1683
1683
 
1684
 
  if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
1685
 
    table->timestamp_field->set_time();
1686
 
 
1687
1684
  write_row_to_innodb_tuple(table->getFields(), update_tuple);
1688
1685
 
1689
1686
  err= ib_cursor_update_row(cursor, tuple, update_tuple);